/* ================================================================
   DEXS® SKATEPARKS — Global Design System
   Brand: Noir #0A0A0A · Jaune #F5C200 · Blanc #F8F8F8
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── TOKENS ── */
:root {
  --y:   #F5C200;
  --y2:  #FFD740;
  --bk:  #080808;
  --dk:  #0E0E0E;
  --s1:  #141414;
  --s2:  #1C1C1C;
  --s3:  #262626;
  --wh:  #F8F8F8;
  --g1:  #C4C4C4;
  --g2:  #989898;
  --g3:  #555555;

  --fh: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r: 16px;
  --rr: 24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fb);
  background: var(--bk);
  color: var(--wh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── MOTION PREFERENCE ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bk); }
::-webkit-scrollbar-thumb { background: var(--y); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--fh);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
p { line-height: 1.65; font-weight: 400; }
strong { font-weight: 700; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0 48px; } }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  max-width: 1300px;
  margin: 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  height: 60px;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245,194,0,0.14);
  border-radius: 20px;
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo-text {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wh);
  white-space: nowrap;
}
.nav-logo-text span { color: var(--y); }

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  font-family: var(--fb);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g1);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--wh); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--y);
  color: var(--bk);
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--y2); transform: translateY(-1px); }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wh);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--fh);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wh);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--y); }

/* ── SECTION LABELS ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--y);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--y);
  border-radius: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 14px;
  transition: all 0.22s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--y);
  color: var(--bk);
}
.btn-primary:hover { background: var(--y2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245,194,0,0.22); }

.btn-outline {
  background: transparent;
  color: var(--wh);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: var(--y); color: var(--y); }

.btn-sm { padding: 10px 20px; font-size: 0.75rem; border-radius: 10px; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── DIVIDER WAVE ── */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

/* ── CITY CARD ── */
.city-card {
  position: relative;
  border-radius: var(--rr);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--s2);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: block;
}
.city-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s;
  filter: grayscale(20%) brightness(0.7);
}
.city-card:hover img { transform: scale(1.06); filter: grayscale(0%) brightness(0.8); }
.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.2) 60%, transparent 100%);
}
.city-card-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 1.3rem;
  line-height: 1;
}
.city-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
}
.city-card-name {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--wh);
  line-height: 1;
  margin-bottom: 4px;
}
.city-card-region {
  font-family: var(--fb);
  font-size: 0.72rem;
  color: var(--g1);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.city-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: var(--y);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.city-card:hover .city-card-arrow { opacity: 1; transform: scale(1); }

/* ── CITY PAGE HERO ── */
.city-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.city-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
  animation: cityKenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes cityKenBurns {
  from { transform: scale(1)    translate(0,    0);    }
  to   { transform: scale(1.07) translate(-1.5%, 0.8%); }
}
@media (prefers-reduced-motion: reduce) {
  .city-hero-img { animation: none; }
}
.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.72) 0%, rgba(8,8,8,0.22) 50%, rgba(8,8,8,0.08) 100%);
}
.city-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 56px;
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid .photo-wide { grid-column: span 2; }
}
.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--r);
  filter: brightness(0.85);
  transition: filter 0.3s, transform 0.4s var(--ease);
}
.photo-grid img:hover { filter: brightness(1); transform: scale(1.01); }

/* ── CONTACT FORM ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--fb);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g1);
}
.form-input {
  background: var(--s2);
  border: 1.5px solid var(--s3);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--wh);
  font-family: var(--fb);
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: var(--g2); }
.form-input:focus { border-color: var(--y); box-shadow: 0 0 0 3px rgba(245,194,0,0.12); }
textarea.form-input { resize: vertical; min-height: 140px; }
select.form-input { appearance: none; cursor: pointer; }

/* ── STAT BLOCK ── */
.stat-block { text-align: center; padding: 24px; }
.stat-number {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: var(--y);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--fb);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g1);
  margin-top: 6px;
}

/* ── FOOTER ── */
.footer {
  background: var(--dk);
  border-top: 1px solid var(--s3);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--g2); line-height: 1.7; max-width: 280px; }

.footer-col-title {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wh);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--g2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--y); }

.footer-bottom {
  border-top: 1px solid var(--s3);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--g2); }
.footer-bottom a { font-size: 0.8rem; color: var(--g2); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--y); }

/* ── TICKER ── */
.ticker-wrap { overflow: hidden; background: var(--y); padding: 12px 0; }
.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 24s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bk);
}
.ticker-dot {
  width: 5px;
  height: 5px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g1);
  transition: color 0.2s, gap 0.2s;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--y); gap: 12px; }

/* ── INFO CHIP ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--s2);
  border: 1px solid var(--s3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--g1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: rgba(245,194,0,0.12);
  border: 1px solid rgba(245,194,0,0.3);
  color: var(--y);
  font-family: var(--fb);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── CARD ── */
.card {
  background: var(--s1);
  border: 1px solid var(--s3);
  border-radius: var(--rr);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.card:hover { border-color: rgba(245,194,0,0.3); transform: translateY(-3px); }

/* ── HERO SECTION (main) ── */
.page-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* ── HERO BOWL ANIMATION ── */
.bowl-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bowl-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70%;
}

/* SVG path draw animation */
@keyframes drawPath {
  from { stroke-dashoffset: 3000; }
  to   { stroke-dashoffset: 0; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}

@keyframes skaterMove {
  0%   { offset-distance: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.hero-text-1 { animation: fadeInUp 0.9s var(--ease) 0.2s both; }
.hero-text-2 { animation: fadeInUp 0.9s var(--ease) 0.4s both; }
.hero-text-3 { animation: fadeInUp 0.9s var(--ease) 0.6s both; }
.hero-text-4 { animation: fadeInUp 0.9s var(--ease) 0.8s both; }

.draw-1 {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: drawPath 3s var(--ease-io) 0.5s forwards;
}
.draw-2 {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: drawPath 3.5s var(--ease-io) 0.8s forwards;
}
.draw-3 {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: drawPath 4s var(--ease-io) 1s forwards;
}

/* ── GRID UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* ── YELLOW BAND ── */
.yellow-band {
  background: var(--y);
  padding: 32px 0;
  overflow: hidden;
}
.yellow-band .stat-number { color: var(--bk); }
.yellow-band .stat-label { color: rgba(0,0,0,0.55); }

/* ── PROCESS STEPS ── */
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--s3);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: var(--fh);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--y);
  background: rgba(245,194,0,0.1);
  border: 1px solid rgba(245,194,0,0.2);
  border-radius: 8px;
  padding: 6px 10px;
  flex-shrink: 0;
}
.process-step-title {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--wh);
  margin-bottom: 6px;
}
.process-step p { font-size: 0.9rem; color: var(--g1); line-height: 1.6; }

/* ── INSTAGRAM LINK ── */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--g1);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.ig-link:hover { color: var(--y); }

/* ── CITY PAGE INFO GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .info-grid { grid-template-columns: repeat(4, 1fr); } }

.info-item {
  background: var(--s1);
  border: 1px solid var(--s3);
  border-radius: var(--r);
  padding: 20px;
}
.info-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g2);
  margin-bottom: 8px;
}
.info-item-value {
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--wh);
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,194,0,0.08) 0%, rgba(245,194,0,0.02) 100%);
  border: 1px solid rgba(245,194,0,0.18);
  border-radius: var(--rr);
  padding: 40px;
}

/* ── MOBILE-ONLY ── */
.mobile-only { display: block; }
.desktop-only { display: none; }
@media (min-width: 768px) {
  .mobile-only { display: none; }
  .desktop-only { display: block; }
}

/* ── HERO NO IMAGE (city placeholder) ── */
.city-hero-placeholder {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--s1);
}
.city-hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(245,194,0,0.08) 0%, transparent 70%);
}
.city-hero-placeholder-bowl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60%;
  opacity: 0.06;
}
