/* ============================================
   PILON — Premium v4
   ============================================ */

:root {
  --black:        #0a0a0a;
  --dark:         #111111;
  --dark-mid:     #1a1a1a;
  --charcoal:     #262626;
  --white:        #ffffff;
  --off-white:    #fafafa;
  --gray-100:     #f0f0f0;
  --gray-200:     #e0e0e0;
  --gray-300:     #b0b0b0;
  --gray-400:     #888888;
  --gray-500:     #666666;
  --gray-600:     #444444;
  --gray-700:     #333333;
  --font:         'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255,255,255,0.04);
}

.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--white);
  padding-left: 0.4em;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav__links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color 0.3s;
}

.nav__links a:hover { color: var(--white); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #080808 0%, #151515 40%, #0e0e0e 100%);
  overflow: hidden;
}

.hero__waves {
  position: absolute;
  inset: -20% -10%;
  transform: rotate(-6deg);
}

.hero__wave {
  position: absolute;
  width: 140%;
  height: 100px;
  left: -20%;
  border-radius: 50%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.02) 20%,
    rgba(255,255,255,0.035) 45%,
    rgba(255,255,255,0.02) 70%,
    transparent 100%
  );
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.hero__wave--1 { top: 18%; animation: waveShift 14s ease-in-out infinite; }
.hero__wave--2 { top: 32%; animation: waveShift 14s ease-in-out infinite -2.5s; opacity: 0.7; }
.hero__wave--3 { top: 46%; animation: waveShift 14s ease-in-out infinite -5s; opacity: 0.85; }
.hero__wave--4 { top: 60%; animation: waveShift 14s ease-in-out infinite -7.5s; opacity: 0.6; }
.hero__wave--5 { top: 74%; animation: waveShift 14s ease-in-out infinite -10s; opacity: 0.75; }

@keyframes waveShift {
  0%, 100% { transform: translateX(-4%) skewY(-1.5deg); }
  50% { transform: translateX(4%) skewY(1.5deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__title {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.75);
  padding-left: 0.4em;
  opacity: 0;
  animation: heroFadeIn 1.5s ease forwards 0.4s;
}

@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
  color: var(--charcoal);
}

.about__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 300;
  line-height: 2;
  color: var(--gray-500);
  margin-bottom: 64px;
}

.about__details {
  display: flex;
  justify-content: center;
  gap: 0;
}

.about__detail {
  text-align: center;
  padding: 0 40px;
  position: relative;
}

.about__detail + .about__detail::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--gray-200);
}

.about__detail-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about__detail-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================
   Companies Grid
   ============================================ */
.brands {
  padding: 100px 0;
  background: var(--black);
}

.brands__heading {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 48px;
  text-align: center;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-card {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  background: var(--dark);
  transition: background 0.5s ease;
}

.brand-card:hover {
  background: var(--dark-mid);
}

.brand-card__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.brand-card__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  opacity: 0.3;
}

.brand-card:hover .brand-card__bg-img {
  transform: scale(1.04);
  opacity: 0.45;
}

.brand-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.7) 100%);
  z-index: 2;
}

.brand-card__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.brand-card__logo {
  max-width: 160px;
  max-height: 40px;
  width: auto;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .brand-card__logo {
  transform: scale(1.04);
}

.brand-card__text-logo {
  font-size: 1.3rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.3;
  color: var(--white);
  padding-left: 0.22em;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .brand-card__text-logo {
  transform: scale(1.04);
}

.brand-card__desc {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  max-width: 240px;
  line-height: 1.6;
  transition: color 0.5s ease;
}

.brand-card:hover .brand-card__desc {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   Approach
   ============================================ */
.approach {
  padding: 100px 0;
  background: var(--off-white);
}

.approach__heading {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 48px;
  text-align: center;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.approach__item {
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.approach__item h3 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.approach__item p {
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--gray-500);
  font-weight: 400;
}

/* ============================================
   Leadership
   ============================================ */
.leadership {
  padding: 100px 0;
  background: var(--black);
}

.leadership__heading {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 48px;
  text-align: center;
}

.leadership__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.leadership__photo {
  flex-shrink: 0;
  position: relative;
}

.leadership__photo img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
}

.leadership__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--black) 0%,
    transparent 15%,
    transparent 85%,
    var(--black) 100%
  ),
  linear-gradient(
    to bottom,
    transparent 60%,
    var(--black) 100%
  );
}

.leadership__name {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.leadership__role {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.leadership__bio {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.leadership__bio:last-child {
  margin-bottom: 0;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--charcoal);
}

.contact__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact__title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.contact__text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--gray-300);
  font-weight: 300;
  margin-bottom: 40px;
}

.contact__email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 6px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 40px;
}

.contact__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.contact__input::placeholder {
  color: var(--gray-600);
  font-weight: 400;
}

.contact__input:focus {
  border-color: rgba(255,255,255,0.2);
}

.contact__textarea {
  min-height: 100px;
}

.contact__submit {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  align-self: center;
}

.contact__submit:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

.contact__meta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.contact__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-700);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.5);
  padding-left: 0.4em;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}

.footer__links a:hover { color: rgba(255,255,255,0.7); }

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}

.footer__social a:hover {
  color: rgba(255,255,255,0.7);
}

.footer__copy {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================
   Animations
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  animation: pageIn 0.6s ease;
}

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

/* ============================================
   Mobile nav backdrop
   ============================================ */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav__backdrop.is-open {
  display: block;
  opacity: 1;
}

/* ============================================
   Scroll-to-top
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 900;
}

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

.scroll-top:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

/* ============================================
   Back link
   ============================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color 0.3s;
  margin-bottom: 40px;
}

.back-link:hover { color: var(--charcoal); }
.back-link svg { transition: transform 0.3s; }
.back-link:hover svg { transform: translateX(-4px); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .approach__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-card { min-height: 380px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav__inner { padding: 0 24px; height: 64px; }
  .nav__toggle { display: flex; }

  .leadership__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leadership__photo img {
    width: 200px;
    height: 250px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 16px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255,255,255,0.04);
  }

  .nav__links.is-open { right: 0; }
  .nav__links a { font-size: 0.82rem; color: var(--gray-300); }

  .brands__grid { grid-template-columns: 1fr; gap: 12px; }
  .brand-card { min-height: 300px; }
  .brand-card__desc { color: rgba(255,255,255,0.5); }

  .about { padding: 100px 0 80px; }
  .about__details { gap: 0; flex-wrap: wrap; }
  .about__detail { padding: 0 24px; }

  .approach__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 0.85rem !important;
    letter-spacing: 0.2em !important;
  }

  .about__details {
    flex-direction: column;
    gap: 28px;
  }

  .about__detail + .about__detail::before { display: none; }
  .about__detail { padding: 0; }

  .approach__grid { grid-template-columns: 1fr; }

  .brand-card__logo { max-width: 140px; }
  .brand-card__text-logo { font-size: 1.1rem; }
}
