:root {
  /* Nike monochrome palette */
  --ink: #111111;
  --on-primary: #ffffff;
  --canvas: #ffffff;
  --soft-cloud: #f5f5f5;
  --charcoal: #39393b;
  --ash: #4b4b4d;
  --mute: #707072;
  --stone: #9e9ea0;
  --hairline: #cacacb;
  --hairline-soft: #e5e5e5;
  --sale: #d30005;
  --success: #007d48;

  /* Fonts */
  --font-display: "Bebas Neue", "Inter", Helvetica, Arial, sans-serif;
  --font-ui: "Inter", Helvetica, Arial, sans-serif;

  /* Spacing (8px system) */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 18px;
  --sp-xl: 24px;
  --sp-xxl: 30px;
  --sp-section: 48px;

  /* Radius */
  --r-md: 24px;
  --r-lg: 30px;
  --r-full: 9999px;

  --maxw: 1440px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Loading Screen — logo fade + pulse */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  opacity: 1;
  transition: opacity 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.loader-logo {
  width: 110px;
  height: 110px;
  border-radius: var(--r-full);
  object-fit: cover;
  animation: loaderFade 0.7s ease-out both, loaderPulse 1.4s ease-in-out 0.7s infinite;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  animation: loaderFade 0.7s ease-out 0.25s both;
}

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

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}


.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin: 0 auto;
}

/* Buttons — pill geometry only */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--on-primary);
  padding: 14px 32px;
  min-height: 48px;
  border-radius: var(--r-lg);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.6;
}

/* Secondary / on-image outline pill */
.ghost {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.ghost:hover {
  background: var(--soft-cloud);
  opacity: 1;
}

.section {
  padding: var(--sp-section) 0;
}

/* Eyebrow — caption uppercase */
.eyebrow {
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 12px;
  font-weight: 500;
}

/* Section headers — heading-xl, uppercase */
.title {
  font-family: var(--font-ui);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-xl);
  color: var(--ink);
}

/* Cards grid (services) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--sp-sm);
}

.card {
  background: var(--soft-cloud);
  border: none;
  padding: var(--sp-xl);
  border-radius: 0;
  box-shadow: none;
  min-height: 200px;
}

.card h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
}

.card .muted {
  font-size: 16px;
  line-height: 1.5;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--canvas);
  border: 1px solid var(--hairline);
}

/* Header / Nav */
header {
  position: fixed;
  inset: 0 0 auto 0;
  padding: 0;
  background: var(--canvas);
  z-index: 10;
  box-shadow: inset 0 -1px 0 var(--hairline-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: none;
  object-fit: cover;
  box-shadow: none;
}

.nav-links {
  display: flex;
  gap: var(--sp-xl);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.nav-links a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.nav-links a:hover {
  border-bottom-color: var(--ink);
}

/* Hero — editorial campaign lockup */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.6));
}

.hero-content {
  position: relative;
  text-align: left;
  max-width: 900px;
  padding: 0 2.5rem var(--sp-section);
  z-index: 1;
  color: var(--on-primary);
}

.hero .eyebrow {
  color: var(--on-primary);
  opacity: 0.9;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: var(--sp-sm) 0 var(--sp-md);
  color: var(--on-primary);
}

.hero p {
  color: var(--on-primary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  max-width: 520px;
  margin-bottom: var(--sp-xl);
}

.hero-actions {
  display: inline-flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero .ghost {
  background: var(--canvas);
  color: var(--ink);
  border: none;
}

/* About */
.about-wrap {
  display: grid;
  gap: var(--sp-section);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.about-panel {
  background: var(--soft-cloud);
  border-radius: 0;
  padding: var(--sp-xl);
  border: none;
  box-shadow: none;
}

.about-panel h3 {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-sm);
  margin-top: var(--sp-section);
}

.leader-card {
  background: var(--soft-cloud);
  border-radius: 0;
  padding: var(--sp-xl);
  border: none;
  text-align: center;
}

.leader-photo {
  width: 150px;
  height: 150px;
  border-radius: var(--r-full);
  object-fit: cover;
  border: none;
  box-shadow: none;
  margin-bottom: var(--sp-md);
}

.leader-card h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: var(--sp-xs);
}

/* Products — flat cards, photo is the card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-sm);
}

.product-card {
  background: var(--canvas);
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--soft-cloud);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
}

.product-card:hover .product-media img {
  transform: none;
}

.product-body {
  padding: var(--sp-md) 0 var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  flex: 1;
}

.product-body h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.product-body .muted {
  font-size: 14px;
  color: var(--mute);
}

.product-cta {
  margin-top: var(--sp-md);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-cta:hover {
  color: var(--mute);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: var(--sp-sm);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-item {
  background: var(--soft-cloud);
  border-radius: 0;
  padding: var(--sp-xl);
  border: none;
}

.contact-item h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  margin: var(--sp-md) 0 var(--sp-xs);
}

.contact-item a {
  text-decoration: none;
}

/* Social */
.socials {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  min-height: 48px;
  background: var(--soft-cloud);
  border-radius: var(--r-lg);
  border: none;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.15s ease;
}

.social-link:hover {
  opacity: 0.8;
}

/* Footer */
footer {
  padding: var(--sp-section) 0;
  text-align: left;
  color: var(--mute);
  border-top: 1px solid var(--hairline);
}

footer p {
  font-size: 14px;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Utilities */
.muted {
  color: var(--mute);
}

.divider {
  height: 1px;
  background: var(--hairline);
  margin: var(--sp-xl) 0;
}

/* SVG icon strokes -> ink */
.icon svg {
  stroke: var(--ink) !important;
}

@media (max-width: 720px) {
  header {
    position: static;
  }

  .nav {
    flex-direction: column;
    height: auto;
    padding: var(--sp-md) 0;
    gap: var(--sp-md);
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-lg);
  }

  .hero {
    min-height: 85vh;
  }

  .hero video {
    object-fit: cover;
  }

  .hero-content {
    padding: 0 1.5rem var(--sp-xl);
  }

  .section {
    padding: var(--sp-xxl) 0;
  }
}
