html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; font-family: Manrope, sans-serif; color: #14181d; }
a { color: #14181d; text-decoration: none; }
a:hover { color: #a8865a; }
::selection { background: #14181d; color: #f6f5f2; }
img { max-width: 100%; }

@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; transition: background .5s ease, padding .5s ease, box-shadow .5s ease, color .5s ease;
  color: #f6f5f2; background: transparent;
}
.nav.scrolled {
  padding: 10px 56px; color: #14181d; background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(20,24,29,.08);
}
.logo-link { display: flex; align-items: center; color: inherit; }
.logo-img { height: 88px; display: block; transition: height .5s ease; }
.nav.scrolled .logo-img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.nav-links a { color: inherit; opacity: .8; }
.nav-links a:hover { opacity: 1; color: inherit; }
.nav-cta { opacity: 1 !important; border: 1px solid currentColor; padding: 10px 22px; transition: background .3s, color .3s; }
.nav-cta:hover { background: #cfa878; color: #14181d; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; background: none; border: none; cursor: pointer; padding: 10px; align-items: stretch; color: inherit; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 49; background: rgba(12,18,24,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-link { font-size: 15px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #f6f5f2; }
.menu-link:hover { color: #cfa878; }
.menu-cta { border: 1px solid rgba(246,245,242,.5); padding: 14px 32px; }
.menu-cta:hover { background: #cfa878; color: #14181d; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 780px; overflow: hidden; background: #0c1218; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity 2.4s ease; animation: kb 16s ease-out infinite alternate; animation-play-state: paused;
}
.hero-slide.active { opacity: 1; animation-play-state: running; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,18,.6) 0%, rgba(8,12,18,.3) 40%, rgba(8,12,18,.82) 100%); }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; width: 1px; height: 44px; background: rgba(246,245,242,.5); animation: scrollHint 2.4s ease-in-out infinite; z-index: 2; }
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 244px 56px 110px; max-width: 1400px; margin: 0 auto; box-sizing: border-box; color: #f6f5f2;
}
.hero-eyebrow {
  font-size: clamp(13px, 1.6vw, 20px); color: #e6cfb2; padding-bottom: 20px; max-width: 640px;
  letter-spacing: .38em; text-transform: uppercase; line-height: 1.5; margin-top: 200px;
  text-shadow: 0 1px 12px rgba(8,12,18,.8); animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) both .2s;
}
.hero-h1 {
  font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.1; letter-spacing: -0.015em; margin: 0; max-width: 18ch; text-shadow: 0 2px 24px rgba(8,12,18,.55);
  text-wrap: balance;
}
.hero-sub { font-size: 17px; line-height: 1.7; max-width: 52ch; opacity: .95; text-shadow: 0 1px 12px rgba(8,12,18,.7); margin: 30px 0 0; }
.hero-sub-strong { font-size: 20px; font-weight: 700; }
.hero-sub div { font-size: 20px; }
.hero-ctas { display: flex; align-items: center; flex-direction: row; gap: 28px; margin-top: 48px; animation: fadeUp 1.4s cubic-bezier(.16,1,.3,1) both .85s; }
.btn-solid {
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #14181d;
  background: #f6f5f2; padding: 18px 36px; transition: background .3s, color .3s;
}
.btn-solid:hover { background: #cfa878; color: #14181d; }
.btn-underline { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #f6f5f2; border-bottom: 1px solid rgba(246,245,242,.4); padding-bottom: 6px; }
.btn-underline:hover { color: #cfa878; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-right { transform: translateX(80px); }
.reveal-right.visible { transform: translateX(0); }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid rgba(20,24,29,.08); }
.stats-grid { max-width: 1400px; margin: 0 auto; padding: 84px 56px; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.stat-num { font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: 72px; line-height: 1; color: #14181d; }
.stat-suffix { font-size: 44px; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #8a8478; margin-top: 14px; }

/* Shared */
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .38em; text-transform: uppercase; color: #A27C4B; }
.eyebrow-gold { color: #CFA878; margin-bottom: 44px; }
.h2 { font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.12; margin: 0; text-wrap: balance; color: #2B3A44; }

/* About */
.about { background: #fff; }
.about-grid { max-width: 1400px; margin: 0 auto; padding: 170px 56px 150px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; }
.eyebrow-row { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.eyebrow-line { flex: 1; height: 1px; background: rgba(20,24,29,.15); }
.about-copy { display: flex; flex-direction: column; gap: 26px; font-size: 18px; line-height: 1.85; color: #43484f; padding-top: 66px; }
.about-copy p, .about-copy > div { margin: 0; }
.about-more { font-weight: 600; font-style: italic; }
.about-img-wrap { max-width: 1400px; margin: 0 auto; padding: 0 56px 110px; }
.reveal-right { transform: translateX(80px); }
.reveal-right.visible { transform: translateX(0); }
.about-img { height: 482px; min-height: 420px; background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 2px; }
.about-caption { font-size: 16px; letter-spacing: .22em; text-transform: uppercase; color: #8a8478; margin-top: 18px; text-align: center; }

/* Vision */
.vision { color: #f6f5f2; text-shadow: 0 4px 12px rgba(0,0,0,.11); background-color: #040404; }
.vision-inner { display: block; background-color: #CCCCCC72; padding: 80px 200px 80px 80px; }
.vision-text { font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.3; margin: 0; text-wrap: balance; max-width: 700px; }
.vision-more { font-size: 18px; font-style: italic; line-height: 33px; }
.vision-line { width: 72px; height: 1px; background: #cfa878; margin: 56px auto 0; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.16,1,.3,1) .3s; }
.vision-line.visible { transform: scaleX(1); }

/* Products */
.products { background: #fff; }
.products-grid { max-width: 1400px; margin: 0 auto; padding: 170px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.products-text { order: 2; }
.products-h2 { margin: 0 0 46px; }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; font-size: 15px; color: #43484f; }
.product-item { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(20,24,29,.1); }
.product-item .num { font-size: 10px; letter-spacing: .1em; color: #a8865a; }
.products-note { font-size: 18px; line-height: 1.8; margin: 36px 0 0; color: #43484f; }
.products-img { order: 1; }
.products-img-el { height: 78vh; min-height: 480px; background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 2px; }

/* Benefits */
.benefits { background: #edebe6; }
.benefits-wrap { max-width: 1400px; margin: 0 auto; padding: 170px 56px; }
.benefits-head { display: flex; align-items: baseline; justify-content: space-between; gap: 40px; margin-bottom: 90px; flex-wrap: wrap; }
.benefits-h2 { max-width: 18ch; }
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(20,24,29,.12); }
.benefit { background: #edebe6; }
.benefit.pad0 { padding: 44px 36px 44px 0; }
.benefit.pad1 { padding: 44px 36px; }
.benefit.pad2 { padding: 44px 0 44px 36px; }
.benefit-title { font-family: 'Source Sans 3', sans-serif; font-size: 22px; margin-bottom: 14px; color: #2B3A44; }
.benefit-text { font-size: 15px; line-height: 1.8; color: #5a5f66; margin: 0; }

/* References */
.references { background: #fff; }
.references-wrap { max-width: 1100px; margin: 0 auto; padding: 170px 56px; text-align: center; }
.references-h2 { margin: 0 0 70px; }
.logos { display: flex; align-items: center; justify-content: center; gap: 64px; flex-wrap: wrap; }
.logo-img-ref { height: 180px; filter: grayscale(1); opacity: .55; transition: opacity .4s, filter .4s; mix-blend-mode: multiply; }
.logo-img-ref:hover { opacity: 1; filter: grayscale(0); }
.references-note { font-size: 16px; letter-spacing: .18em; text-transform: uppercase; color: #8a8478; margin-top: 70px; }

/* Contact */
.contact { position: relative; background: #0c1218; color: #f6f5f2; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .18; }
.contact-wrap { position: relative; max-width: 1400px; margin: 0 auto; padding: 170px 56px 60px; }
.contact-h2 { color: #f6f5f2; margin: 0 0 56px; max-width: 14ch; }
.contact-copy { font-size: 18px; line-height: 1.8; margin: 36px 0 0; color: #f6f5f2; max-width: 420px; }
.contact-cta {
  display: inline-block; box-sizing: border-box; font-size: 11px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: #14181d; background: #f6f5f2; padding: 20px 44px; transition: background .3s;
  max-width: 100%; overflow-wrap: anywhere;
}
.contact-cta:hover { background: #cfa878; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 130px; padding-top: 44px; border-top: 1px solid rgba(246,245,242,.15); font-size: 13px; line-height: 2; color: rgba(246,245,242,.65); }
.footer-label { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(246,245,242,.4); margin-bottom: 12px; }
.footer-link { color: rgba(246,245,242,.65); }
.footer-link:hover { color: #cfa878; }
.copyright { font-size: 11px; letter-spacing: .12em; color: rgba(246,245,242,.35); margin-top: 60px; }

/* Tablet */
@media (max-width: 1024px) {
  .nav, .nav.scrolled { padding-left: 32px; padding-right: 32px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-content { padding-left: 32px; padding-right: 32px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); padding: 84px 32px; row-gap: 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; padding: 110px 32px 150px; }
  .about-img-wrap { padding: 0 32px 110px; }
  .vision-inner { padding: 64px 32px; }
  .products-grid { grid-template-columns: 1fr; gap: 56px; padding: 110px 32px; }
  .benefits-wrap { padding: 110px 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit.pad0, .benefit.pad1, .benefit.pad2 { padding: 36px 0; }
  .references-wrap { padding: 110px 32px; }
  .contact-wrap { padding: 110px 32px 60px; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-eyebrow { letter-spacing: .28em; margin-top: 110px; }
  .hero-content { padding-bottom: 76px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 22px; }
  .stat-num { font-size: 52px; }
  .product-list { grid-template-columns: 1fr; }
  .contact-cta { padding: 16px 20px; }
  .vision-inner { padding: 48px 20px; }
  .nav, .nav.scrolled { padding-left: 20px; padding-right: 20px; }
  .hero-content, .stats-grid, .about-grid, .about-img-wrap, .products-grid, .benefits-wrap, .references-wrap, .contact-wrap {
    padding-left: 20px; padding-right: 20px;
  }
  .logo-img { height: 56px; }
  .nav.scrolled .logo-img { height: 40px; }
}
