/* ==========================================================================
   AdvWay: stylesheet
   Design tokens live in :root. --accent is the only color pulled subjectively
   (the source logo is pure black/white). Change it here to re-skin the site.
   ========================================================================== */

:root {
  --bg: #08090b;
  --bg-raised: #101216;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --fg: #f2f3f1;
  --fg-dim: #9aa0a6;
  --fg-dimmer: #5c6167;
  --accent: #ff5a1f;
  --accent-dim: #ff5a1f33;
  --accent-fg: #0a0800;

  --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
}

/* ---------------------------------- reset --------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------- helpers -------------------------------- */

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -0.01em;
}

.section-head .count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dimmer);
  white-space: nowrap;
  padding-bottom: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--fg);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
}

.btn-primary:hover {
  background: #ff6e3a;
  border-color: #ff6e3a;
  color: var(--accent-fg);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ------------------------------ scroll progress --------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------------------------------- header -------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(8, 9, 11, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand img {
  width: 28px;
  height: 28px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-links .handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  display: none;
}

.icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.icon-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-link svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 640px) {
  .header-links .handle {
    display: inline;
  }
}

/* ---------------------------------- hero ---------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-topo {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
  background-image:
    repeating-radial-gradient(circle at 80% 18%, transparent 0, transparent 42px, var(--line) 43px, transparent 44px),
    repeating-radial-gradient(circle at 12% 82%, transparent 0, transparent 58px, var(--line) 59px, transparent 60px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  opacity: 0.5;
}

.hero-inner {
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-coords {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  min-height: 1.2em;
}

.hero-coords .blink {
  color: var(--accent);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  to { opacity: 0; }
}

.hero-logo {
  width: 108px;
  height: 108px;
  margin-bottom: 28px;
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 10vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  animation: rise 1s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  margin-top: 20px;
  max-width: 480px;
  color: var(--fg-dim);
  font-size: 17px;
  animation: rise 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: rise 1s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tags {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: rise 1s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.scroll-cue {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.scroll-cue.is-hidden {
  opacity: 0;
}

@media (max-height: 760px), (max-width: 400px) {
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-tags {
    display: none;
  }
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--fg-dimmer), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -------------------------------- section base ----------------------------- */

section {
  padding: 100px 0;
  position: relative;
}

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

/* -------------------------------- activities -------------------------------- */

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.activity-card {
  background: var(--bg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.activity-card:hover {
  background: var(--bg-raised);
}

.activity-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dimmer);
}

.activity-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.activity-card:hover .activity-icon {
  transform: translateY(-3px) scale(1.05);
}

.activity-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.activity-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.activity-card p {
  color: var(--fg-dim);
  font-size: 14.5px;
  flex: 1;
}

.activity-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dimmer);
  letter-spacing: 0.06em;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* -------------------------------- instagram -------------------------------- */

.ig-head-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ig-head-link svg {
  width: 14px;
  height: 14px;
}

.ig-embed {
  min-height: 200px;
}

.ig-footer-cta {
  margin-top: 36px;
  text-align: center;
}

/* ---------------------------------- about ---------------------------------- */

.about {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.about-copy p {
  color: var(--fg-dim);
  font-size: 16.5px;
  margin-bottom: 18px;
  max-width: 62ch;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  background: var(--bg);
  padding: 20px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 4vw, 30px);
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stat .label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
}

/* ---------------------------------- next up ---------------------------------- */

.next-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.next-card {
  flex: 1 1 320px;
  background: var(--bg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.next-card:hover {
  background: var(--bg-raised);
}

.next-year {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.next-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.next-card p {
  color: var(--fg-dim);
  font-size: 14.5px;
  flex: 1;
}

.next-status {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------------------------------- footer ---------------------------------- */

.site-footer {
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-tagline {
  margin-top: 12px;
  color: var(--fg-dim);
  font-size: 14px;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col a svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-dimmer);
}

.footer-bottom a {
  color: var(--fg-dimmer);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ------------------------------ back to top ------------------------------ */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(16, 18, 22, 0.85);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--fg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  z-index: 90;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.to-top svg {
  width: 16px;
  height: 16px;
}
