/* 
   RUNNING SO FAR - Official Website
   Copyright (c) 2026. All Rights Reserved.
   Designed & Developed by Running So Far team
   Unauthorized copying of this file is strictly prohibited.
*/


@import url('https://fonts.googleapis.com/css2?family=Anton&family=EB+Garamond:ital,wght@1,400&display=swap');


/* =========================================================
   ROOT
========================================================= */

:root {
  --bg: #0b0b0b;
  --fg: #f5f5f5;
  --muted: #9b9b9b;
  --card: #141414;
  --line: #222;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}


body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}


/* =========================================================
   GRAIN / NOISE
========================================================= */

body::after {
  content: "";

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: url('https://grainy-gradients.vercel.app/noise.svg');

  opacity: 0.05;

  pointer-events: none;

  z-index: 9999;
}


/* =========================================================
   GLOBAL TRANSITION
========================================================= */

a,
button,
.card,
.latest-card,
.editorial-list img {
  transition:
    all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
}


.reveal.active {
  opacity: 1;
  transform: none;
  transition: 0.7s ease;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(8px);

  z-index: 1000;
}


.nav-container {
  max-width: 1380px;

  margin: auto;

  padding: 16px 20px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  font-size: 14px;
  font-weight: 600;
}


.logo a {
  color: white;
  text-decoration: none;
}


/* =========================================================
   NAV DESKTOP
========================================================= */

.nav-menu {
  display: flex;

  gap: 24px;
}


.nav-menu a {
  text-decoration: none;

  color: #717171;

  transition: color 0.25s ease;
}


.nav-menu a:hover {
  color: #aaa;
}


/* =========================================================
   BURGER
========================================================= */

.burger {
  display: none;

  flex-direction: column;

  gap: 4px;

  cursor: pointer;

  position: relative;

  z-index: 1001;
}


.burger span {
  width: 24px;
  height: 2px;

  background: white;

  display: block;
}


/* =========================================================
   HERO / LANDING
========================================================= */

.hero {
  position: relative;

  min-height: auto;

  background:
    linear-gradient(
      rgba(0, 0, 0, .55),
      rgba(0, 0, 0, .75)
    ),
    url('/assets/img/bg-1-bw.jpeg');

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  display: flex;

  align-items: center;

  padding: 100px 6% 10px;

  filter: grayscale(100%);
}


.hero-logo {
  width: 100%;
  max-width: 380px;

  height: auto;

  display: block;

  margin-bottom: 32px;
}


.about {
  max-width: 600px;

  position: relative;

  z-index: 2;
}


.hero h1 {
  letter-spacing: -2px;

  font-weight: 800;

  font-size: 64px;

  line-height: 1.1;

  margin: 0 0 20px 0;

  text-transform: uppercase;
}


.hero p {
  font-size: 18px;

  max-width: 600px;

  margin-top: 30px;

  color: var(--muted);

  line-height: 1.5;
}


/* =========================================================
   GENERIC SECTION
========================================================= */

section {
  padding: 40px 6%;
}


.section-title {
  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 2px;

  color: #555;

  border-bottom: 1px solid var(--line);

  padding-bottom: 10px;

  margin: 0 0 20px 0;
}


.page-desc {
  font-size: 12px;
}


/* =========================================================
   GENERIC GRID
========================================================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;

  margin-top: 40px;
}


/* =========================================================
   GENERIC CARD
========================================================= */

.card {
  background: var(--card);

  border: 1px solid var(--line);

  padding: 24px;

  min-height: 170px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  border-radius: 8px;
}


.card:hover {
  transform: translateY(-6px);

  border-color: #444;
}


.card-category {
  font-size: 12px;

  color: var(--muted);

  margin-bottom: 10px;

  text-transform: uppercase;
}


.card h2 {
  font-size: 22px;

  margin-bottom: 10px;
}


.card p {
  color: var(--muted);

  font-size: 13px;
}


.card a {
  margin-top: 20px;

  color: white;

  text-decoration: none;

  font-size: 14px;
}


/* =========================================================
   FEATURED
========================================================= */

.featured {
  max-width: 1200px;

  margin: 64px auto 80px;

  padding: 0 20px;
}


/* HERO CARD */

.hero-card {
  display: grid;

  grid-template-columns: 1.4fr 1fr;

  gap: 60px;

  align-items: center;

  cursor: pointer;

  transition:
    transform .35s ease,
    opacity .35s ease;
}


.hero-card:hover {
  transform: translateY(-6px);
}


.hero-card img {
  width: 100%;

  aspect-ratio: 16 / 10;

  object-fit: cover;

  filter: grayscale(20%);

  transition: .4s;
}


.hero-card img:hover {
  filter: grayscale(0%);
}


.hero-content {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}


.hero-content h2 {
  font-size: 42px;

  line-height: 1.15;

  margin: 18px 0;
}


.hero-content p {
  line-height: 1.8;

  color: var(--muted);

  margin-bottom: 30px;
}


.hero-content a {
  color: white;

  text-decoration: none;

  display: inline-block;
}


.hero-card:hover a {
  letter-spacing: .5px;
}


/* =========================================================
   NOW
========================================================= */

.now {
  max-width: 1200px;

  margin: 0 auto 80px;

  padding: 0 20px;
}


/* =========================================================
   NOW GRID
========================================================= */

.latest-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 24px;
}


/* =========================================================
   NOW CARD / DIRECTORY
========================================================= */

.latest-card {
  position: relative;

  min-height: 280px;

  padding: 28px;

  border: 1px solid #2a2a2a;

  display: flex;
  flex-direction: column;

  color: var(--fg);
  text-decoration: none;

  overflow: hidden;

  transition:
    transform .35s ease,
    border-color .35s ease,
    background-color .35s ease;
}


/* INDEX */

.card-index {
  font-size: 10px;

  color: #555;

  letter-spacing: 2px;

  transition:
    color .3s ease,
    transform .3s ease;
}


/* CONTENT */

.card-content {
  margin-top: 42px;

  transition:
    transform .35s ease;
}


.latest-card h4 {
  font-size: 18px;

  line-height: 1.2;

  margin-bottom: 14px;

  color: #f5f5f5;
}


.latest-card p {
  max-width: 260px;

  font-size: 15px;

  line-height: 1.6;

  color: #777;

  transition: color .3s ease;
}


/* CTA */

.card-link {
  margin-top: auto;

  font-size: 14px;

  font-weight: 500;

  color: #fff;
}


.arrow {
  display: inline-block;

  margin-left: 2px;

  transition:
    transform .3s ease;
}


/* =========================================================
   NOW CARD HOVER
========================================================= */

.latest-card:hover {
  transform: translateY(-4px);

  border-color: #444;

  background: #101010;
}


.latest-card:hover .card-index {
  color: #aaa;

  transform: translateX(3px);
}


.latest-card:hover .card-content {
  transform: translateX(3px);
}


.latest-card:hover p {
  color: #aaa;
}


.latest-card:hover .arrow {
  transform: translateX(5px);
}


/* =========================================================
   MOBILE SCROLL REVEAL
========================================================= */

.latest-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    transform .5s ease,
    opacity .5s ease,
    border-color .3s ease;
}


/* Hanya aktif di mobile */
@media (max-width: 768px) {

  .latest-card.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .latest-card.scroll-reveal.show {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   EDITORIAL INDEX
========================================================= */

.editorials-page {
  padding: 120px 6% 80px;
}


.editorials-header {
  margin-bottom: 80px;
}


.editorials-header h1 {
  font-size: 56px;

  margin-bottom: 10px;
}


.editorials-header h3 {
  font-size: 20px;
}


.editorials-header p {
  color: var(--muted);

  max-width: 500px;
}


.editorials-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

  gap: 40px;
}


.editorial-list {
  overflow: hidden;
}


.editorial-list img {
  width: 100%;

  aspect-ratio: 16 / 9;

  height: auto;

  object-fit: cover;

  margin-bottom: 10px;

  border-radius: 4px;

  filter: grayscale(20%);
}


.editorial-list:hover img {
  transform: scale(1.03);

  filter: grayscale(0%);
}


.editorial-list h3 {
  font-size: 1.25rem;

  font-weight: 600;

  line-height: 1.3;

  margin-bottom: 8px;
}


.editorial-list a {
  font-size: 14px;

  color: var(--muted);
}


/* =========================================================
   EDITORIAL DETAIL
========================================================= */

.editorial-content {
  max-width: 700px;

  margin: 0 auto;

  padding:
    120px 20px
    80px;
}


.content-header {
  text-align: center;

  margin-bottom: 60px;
}


.content-header h1,
.content-header h3 {
  font-size:
    clamp(32px, 5vw, 48px);

  line-height: 1.1;

  margin: 20px 0 10px;

  text-transform: uppercase;

  font-weight: 800;
}


.main-image,
.mid-image {
  margin: 10px 0;

  width: 100%;
}


.main-image img,
.mid-image img {
  width: 100%;

  height: auto;

  filter: grayscale(100%);

  transition: filter .6s ease;
}


.main-image img:hover,
.mid-image img:hover {
  filter: grayscale(0%);
}


.date {
  font-size: 12px;
}


.caption {
  font-size: 12px;
}


.body-text p {
  font-size: 14px;

  line-height: 1.8;

  color: #d1d1d1;

  margin-bottom: 20px;
}


blockquote {
  border-left: 2px solid #fff;

  padding-left: 30px;

  margin: 60px 0;

  font-size: 14px;

  font-weight: 500;

  color: #fff;
}


/* =========================================================
   YOUTUBE
========================================================= */

.youtube-card {
  position: relative;

  padding-bottom: 56.25%;

  padding-top: 30px;

  height: 0;

  overflow: hidden;
}


.youtube-card iframe {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}


/* =========================================================
   PRODUCT
========================================================= */

.product-page {
  padding:
    120px 6%
    80px;
}


/* =========================================================
   EVENT
========================================================= */

.event {
  padding-top: 100px;
}


.event-header {
  margin-bottom: 40px;
}


.event-header h3 {
  font-size: 20px;

  font-weight: 700;

  margin-bottom: 8px;
}


.event-header .page-desc {
  font-size: 14px;

  color: var(--muted);

  margin: 0;
}


.event-list {
  display: grid;

  gap: 20px;
}


.event-card {
  border: 1px solid var(--line);

  padding: 40px;

  background: var(--card);

  border-radius: 12px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition: all .4s ease;
}


.event-card:hover {
  border-color: #555;

  background: #1a1a1a;

  transform: translateY(-4px);
}


.event-card h3 {
  font-size: 17px;

  margin-bottom: 12px;

  letter-spacing: -.5px;
}


.event-card p {
  color: var(--muted);

  max-width: 450px;

  margin-bottom: 30px;
}


.card-meta {
  display: flex;

  justify-content: space-between;

  align-items: center;

  border-top: 1px solid #222;

  padding-top: 20px;
}


.card-meta span {
  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 1px;

  color: var(--muted);
}


.btn-small {
  text-decoration: none;

  color: #fff;

  font-size: 12px;

  font-weight: 600;

  border: 1px solid #444;

  padding: 8px 16px;

  border-radius: 20px;
}


.btn-small:hover {
  background: #fff;

  color: #000;
}


/* =========================================================
   MUSIC
========================================================= */

.music-header {
  padding-top: 120px;

  font-size: 20px;
}


.music-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;

  margin-top: 40px;
}


.music-card {
  background: var(--card);

  border: 1px solid var(--line);

  padding: 30px;

  border-radius: 16px;

  transition:
    transform .3s ease,
    border-color .3s ease;
}


.music-card:hover {
  border-color: #333;

  transform: translateY(-5px);
}


.music-card p {
  color: var(--muted);

  font-size: 14px;

  margin-bottom: 20px;
}


.music-card iframe {
  box-shadow:
    0 4px 15px rgba(0,0,0,.3);
}


/* =========================================================
   QUOTE
========================================================= */

.quote {
  text-align: center;

  padding:
    120px 8%;
}


.quote p {
  font-size: 14px;

  margin-bottom: 10px;
}


.quote span {
  font-size: 12px;

  color: var(--muted);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  border-top: 1px solid var(--line);

  padding:
    20px 8%;

  display: flex;

  justify-content: space-between;

  font-size: 10px;
}


.footer-links a {
  margin-left: 20px;

  color: var(--muted);

  text-decoration: none;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 700px) {

  .burger {
    display: flex;
  }


  .nav-menu {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: #000;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 30px;

    z-index: 1000;
  }


  .nav-menu.active {
    display: flex;
  }


  .nav-menu a {
    font-size: 20px;

    color: white;

    font-weight: 500;

    text-transform: uppercase;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  /* HERO FEATURED */

  .hero-card {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  .hero-content h2 {
    font-size: 32px;
  }


  /* NOW */

  .latest-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  /* LANDING HERO */

  .hero {
    padding:
      100px 6%
      30px;
  }


  .hero h1 {
    font-size: 48px;
  }


  /* FEATURED */

  .featured {
    margin:
      40px auto
      60px;

    padding:
      0 20px;
  }


  .hero-card {
    gap: 24px;
  }


  .hero-content h2 {
    font-size: 30px;

    margin:
      12px 0 16px;
  }


  .hero-content p {
    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
  }


  .hero-content a {
    margin-bottom: 0;
  }


  /* NOW */

  .now {
    margin:
      0 auto
      60px;

    padding:
      0 20px;
  }


  .latest-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }


  .latest-card {
    min-height: 220px;

    padding: 24px;
  }


  .latest-card h4 {
    font-size: 17px;
  }


  .latest-card p {
    font-size: 14px;

    max-width: 100%;
  }


  .latest-card a {
    padding-top: 16px;
  }


  /* EDITORIAL */

  .editorials-page {
    padding:
      100px 6%
      60px;
  }


  .editorials-header {
    margin-bottom: 40px;
  }


  .editorials-header h3 {
    font-size: 20px;

    margin-top: 20px;
  }


  .editorials-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  /* EDITORIAL DETAIL */

  .editorial-content {
    padding:
      100px 20px
      60px;
  }


  .content-header {
    margin-bottom: 40px;
  }


  /* PRODUCT */

  .product-page {
    padding:
      100px 6%
      60px;
  }


  /* EVENT */

  .event {
    padding:
      100px 6%
      60px;
  }


  .event-header h3 {
    font-size: 20px;

    margin-top: 20px;
  }


  .event-card {
    padding: 30px;
  }


  .card-meta {
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
  }


  /* MUSIC */

  .music-header {
    padding:
      100px 6%
      20px;

    margin-top: 0;
  }


  .music-grid {
    grid-template-columns: 1fr;
  }


  .music-card {
    padding: 20px;
  }


  /* FOOTER */

  footer {
    flex-direction: column;

    gap: 10px;

    padding:
      20px 6%;
  }


  .footer-links a {
    margin:
      0 20px 0 0;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .hero h1 {
    font-size: 42px;
  }


  .hero-content h2 {
    font-size: 28px;
  }


  .featured {
    margin-top: 30px;

    margin-bottom: 50px;
  }


  .section-title {
    margin-bottom: 16px;
  }


  .latest-card {
    min-height: 210px;

    padding: 22px;
  }


  .latest-card h4 {
    font-size: 16px;
  }


  .latest-card p {
    font-size: 13px;
  }


  .latest-card a {
    padding-top: 14px;
  }


  .editorial-content {
    padding-left: 16px;

    padding-right: 16px;
  }

}