:root {
  --blue: #2B61F4;
  --bg: #F8F7F7;
  --white: #FFFFFF;
}

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

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  background: var(--bg);
  color: var(--blue);
  overflow-x: clip;
}

img {
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

#stage {
  position: relative;
  width: 1440px;
  height: 8192px;
  margin: 0 auto;
  overflow: hidden;
  transform-origin: top left;
}

.sec {
  position: absolute;
  left: 0;
  width: 1440px;
  height: 1024px;
}

.sec-hero    { top: 0; }
.sec-brand   { top: 1024px; }
.sec-how     { top: 2048px; }
.sec-modes   { top: 3072px; }
.sec-work    { top: 4096px; }
.sec-contact { top: 7168px; }

.sec > * {
  position: absolute;
}

.ph {
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* ---------------- FIXED HEADER ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 0;
  transform: translateX(-50%);
  transform-origin: top center;
  z-index: 50;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100vw;
  right: -100vw;
  height: 0;
  background: rgba(248, 247, 247, 0.94);
  transition: height 0.3s ease;
}

.site-header.scrolled::before {
  height: 88px;
}

.logo {
  position: absolute;
  left: 66px;
  top: 38px;
  width: 371px;
  transition: width 0.3s ease, top 0.3s ease;
}

.site-header.scrolled .logo {
  top: 18px;
  width: 140px;
}

.nav a {
  position: absolute;
  top: 76px;
  width: 114px;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.3s ease, opacity 0.25s ease;
}

.site-header.scrolled .nav a {
  top: 20px;
}

.p-hero {
  left: 753px;
  top: 248px;
  width: 399px;
  height: 495px;
  z-index: 2;
}

.t-intelligence {
  left: 782px;
  top: 213px;
  width: 701px;
  text-align: center;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  z-index: 4;
}

.hero-copy {
  left: 456px;
  top: 404px;
  width: 278px;
  text-align: right;
  font-size: 15px;
  line-height: 20px;
  z-index: 2;
}

.t-cured {
  left: 430px;
  top: 708px;
  width: 597px;
  text-align: center;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  z-index: 4;
}

.cta-work {
  left: 1060px;
  top: 772px;
  width: 287px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  z-index: 6;
}

/* ---------------- YOUR BRAND (sec top 1024) ---------------- */

.p-portrait {
  left: 54px;
  top: 105px;
  width: 479px;
  height: 598px;
  z-index: 2;
}

.brand-title {
  left: 643px;
  top: 80px;
  width: 687px;
  text-align: right;
  font-size: 70px;
  line-height: 70px;
  z-index: 3;
}

.brand-note {
  left: 470px;
  top: 184px;
  width: 188px;
  font-size: 15px;
  line-height: 20px;
  z-index: 2;
}

.p-fragrance {
  left: 874px;
  top: 310px;
  width: 494px;
  height: 661px;
  z-index: 2;
}

.brand-body {
  left: 643px;
  top: 747px;
  width: 293px;
  text-align: right;
  font-size: 15px;
  line-height: 20px;
  z-index: 2;
}

/* ---------------- HOW IT WORKS (sec top 2048) ---------------- */

.how-title {
  left: 663px;
  top: 57px;
  width: 687px;
  text-align: right;
  font-size: 70px;
  line-height: 70px;
  z-index: 2;
}

.step-title {
  position: absolute;
  text-align: right;
  font-size: 25px;
  line-height: 30px;
  z-index: 3;
}

.st-1 { left: 27px;  top: 120px; width: 192px; }
.st-2 { left: 368px; top: 315px; width: 283px; }
.st-3 { left: 826px; top: 470px; width: 283px; }

.si-1 { left: 123px;  top: 148px; width: 226px; height: 280px; z-index: 2; }
.si-2 { left: 590px;  top: 335px; width: 226px; height: 280px; z-index: 2; }
.si-3 { left: 1049px; top: 493px; width: 225px; height: 280px; z-index: 2; }

.step-cap {
  position: absolute;
  font-size: 15px;
  line-height: 20px;
  z-index: 2;
}

.sc-1 { left: 326px;  top: 368px; width: 128px; }
.sc-2 { left: 794px;  top: 410px; width: 173px; }
.sc-3 { left: 1245px; top: 449px; width: 138px; }

.step-num {
  position: absolute;
  text-align: center;
  font-size: 55px;
  line-height: 1;
  z-index: 3;
}

.sn-1 { left: 185px;  top: 465px; width: 102px; }
.sn-2 { left: 667px;  top: 645px; width: 94px; }
.sn-3 { left: 1127px; top: 789px; width: 100px; }

/* ---------------- MODES (sec top 3072) ---------------- */

.modes-title {
  left: 88px;
  top: 112px;
  width: 665px;
  font-size: 70px;
  line-height: 70px;
  z-index: 2;
}

.pill {
  position: absolute;
  left: 88px;
  width: 396px;
  height: 65px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding-left: 35px;
  color: var(--blue);
  background: transparent;
  border: 3px solid var(--blue);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  z-index: 2;
}

.pill-1 { top: 552px; }
.pill-2 { top: 632px; }
.pill-3 { top: 714px; }

.pill.active {
  background: var(--blue);
  color: var(--white);
}

.pill:hover:not(.active) {
  background: rgba(43, 97, 244, 0.1);
}

.mode-heading {
  left: 450px;
  top: 397px;
  width: 500px;
  text-align: right;
  font-size: 40px;
  line-height: 50px;
  z-index: 2;
}

.mode-body {
  left: 587px;
  top: 514px;
  width: 363px;
  text-align: right;
  font-size: 15px;
  line-height: 20px;
  z-index: 2;
}

.mode-img {
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.mode-img.active {
  opacity: 1;
}

.mode-img {
  left: 965px;
  top: 200px;
  width: 410px;
  height: 509px;
}

/* ------------- WORK / GALLERY (sec top 4096, spans 3 pages) ------------- */

.sec-work {
  height: 3072px;
}

.work-title {
  left: 88px;
  top: 112px;
  width: 665px;
  font-size: 70px;
  line-height: 70px;
  z-index: 2;
}

.sec-work .g-group {
  display: contents;
}

.swipe-hint,
.menu-btn,
.nav-close {
  display: none;
}

.sec-work .ph {
  position: absolute;
  z-index: 2;
}

.g-tan         { left: 1051px; top: 0;      width: 389px; height: 483px; }
.g-jewelry     { left: 549px;  top: 329px;  width: 343px; height: 426px; }
.g-orange      { left: -18px;  top: 611px;  width: 442px; height: 549px; }
.g-macro       { left: 942px;  top: 698px;  width: 406px; height: 505px; }
.g-back        { left: 458px;  top: 886px;  width: 356px; height: 442px; }
.g-barber      { left: -18px;  top: 1396px; width: 509px; height: 383px; }
.g-improve     { left: 1010px; top: 1248px; width: 430px; height: 576px; }
.g-outfit      { left: 42px;   top: 1879px; width: 348px; height: 519px; }
.g-aristocrazy { left: 527px;  top: 1782px; width: 429px; height: 532px; }
.g-red         { left: 1177px; top: 2048px; width: 263px; height: 326px; }
.g-polo        { left: 504px;  top: 2435px; width: 272px; height: 338px; }
.g-beach       { left: -105px; top: 2545px; width: 498px; height: 618px; }
.g-freckles    { left: 888px;  top: 2545px; width: 552px; height: 733px; }

/* ---------------- CONTACT (sec top 7168) ---------------- */

.contact-title {
  left: 91px;
  top: 170px;
  width: 687px;
  font-size: 70px;
  line-height: 70px;
  z-index: 2;
}

.contact-sub {
  left: 104px;
  top: 410px;
  width: 291px;
  font-size: 15px;
  line-height: 30px;
  z-index: 2;
}

.contact-form {
  position: static;
}

.contact-form input,
.contact-form textarea {
  position: absolute;
  left: 639px;
  width: 617px;
  height: 55px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(248, 247, 247, 0.35);
  border: 3px solid var(--blue);
  border-radius: 50px;
  padding: 0 35px;
  outline: none;
  z-index: 3;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--blue);
  opacity: 1;
}

.f-name    { top: 377px; }
.f-email   { top: 448px; }
.f-brand   { top: 520px; }
.f-country { top: 591px; }

.f-message {
  top: 662px;
  height: 162px !important;
  padding-top: 14px !important;
  resize: none;
}

.submit-btn {
  position: absolute;
  left: 804px;
  top: 855px;
  width: 287px;
  text-align: center;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.footer-social {
  left: 61px;
  top: 953px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.footer-mail {
  left: 478px;
  top: 962px;
  width: 398px;
  text-align: center;
  font-size: 12px;
  z-index: 3;
}

.footer-copy {
  left: 999px;
  top: 962px;
  width: 398px;
  text-align: right;
  font-size: 12px;
  z-index: 3;
}

/* ---------------- MOTION ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.instant {
  transition: none;
}

.nav a,
.cta-work,
.footer-mail,
.footer-social a,
.submit-btn {
  transition: opacity 0.25s ease;
}

.nav a:hover,
.cta-work:hover,
.footer-mail:hover,
.footer-social a:hover,
.submit-btn:hover {
  opacity: 0.6;
}

.mode-heading,
.mode-body {
  transition: opacity 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 859px) {
  #stage {
    width: 100%;
    height: auto;
    transform: none !important;
    overflow: visible;
    padding-top: 58px;
  }

  .sec {
    position: relative;
    top: auto !important;
    width: 100%;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 20px 56px;
    overflow: hidden;
  }

  .sec > *,
  .sec .ph,
  .nav a,
  .step-title,
  .step-num,
  .step-cap,
  .pill,
  .contact-form input,
  .contact-form textarea,
  .submit-btn {
    position: static;
    width: auto;
    left: auto;
    top: auto;
  }

  .sec .ph {
    height: auto;
  }

  /* ---- fixed compact header + full-screen menu ---- */

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 58px;
    transform: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }

  /* Blur layer lives on ::before: backdrop-filter on the header itself
     would become the containing block for the fixed menu overlay */
  .site-header::before,
  .site-header.scrolled::before {
    left: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    background: rgba(248, 247, 247, 0.92);
    backdrop-filter: blur(6px);
    transition: none;
  }

  .site-header .logo,
  .site-header.scrolled .logo {
    position: static;
    top: auto;
    width: 108px;
    margin: 0;
  }

  .menu-btn {
    display: block;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .site-header .nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  body.menu-open .site-header .nav {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .nav a,
  .site-header.scrolled .nav a {
    position: static;
    top: auto;
    width: auto;
    padding: 0;
    text-align: left;
    font-size: 27px;
    line-height: 1.9;
    color: var(--bg);
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--bg);
    background: transparent;
    border: none;
    cursor: pointer;
  }

  /* ---- hero: collage, compressed ---- */

  .sec-hero {
    padding-top: 8px;
  }

  .t-intelligence {
    order: 1;
    font-size: 11vw;
    text-align: left;
    position: relative;
    z-index: 3;
  }

  .p-hero {
    order: 2;
    width: 69%;
    max-width: 380px;
    align-self: flex-end;
    margin: -3vw -20px 0 0;
    position: relative;
    z-index: 2;
  }

  .t-cured {
    order: 3;
    font-size: 16vw;
    text-align: left;
    margin-top: -9vw;
    position: relative;
    z-index: 4;
  }

  .hero-copy {
    order: 4;
    width: auto;
    max-width: 300px;
    text-align: left;
    font-size: 12px;
    line-height: 17px;
    margin-top: 28px;
  }

  .cta-work {
    order: 5;
    align-self: flex-end;
    font-size: 18px;
    margin-top: 26px;
  }

  /* ---- your brand ---- */

  .p-portrait {
    width: 66%;
    max-width: 360px;
    margin-left: -20px;
  }

  .brand-title {
    font-size: 8.7vw;
    line-height: 1;
    text-align: right;
    align-self: flex-end;
    margin-top: -14vw;
    position: relative;
    z-index: 3;
  }

  .brand-note {
    width: 175px;
    font-size: 12px;
    line-height: 17px;
    margin-top: 22px;
    position: relative;
    z-index: 3;
  }

  .p-fragrance {
    width: 67%;
    max-width: 370px;
    align-self: flex-end;
    margin: -30px -20px 0 0;
  }

  .brand-body {
    width: 60%;
    max-width: 300px;
    align-self: flex-end;
    text-align: right;
    font-size: 12px;
    line-height: 17px;
    margin-top: 20px;
  }

  /* ---- how it works: staggered steps ---- */

  .how-title {
    font-size: 10vw;
    line-height: 1;
    text-align: right;
    align-self: flex-end;
    margin-bottom: 34px;
  }

  .step-title {
    display: block;
    text-align: left;
    font-size: 19px;
    line-height: 1.15;
  }

  .ph[class*="si-"] {
    width: 56%;
    max-width: 300px;
    margin-top: 10px;
  }

  .step-cap {
    display: block;
    width: 42%;
    min-width: 150px;
    font-size: 12px;
    line-height: 17px;
    margin-top: 12px;
  }

  .step-num {
    display: block;
    font-size: 44px;
    line-height: 1;
    align-self: flex-end;
    margin-top: clamp(-220px, -30vw, -110px);
    margin-bottom: 46px;
    position: relative;
    z-index: 3;
  }

  .st-2, .sc-2 {
    align-self: flex-end;
    text-align: right;
  }

  .si-2 {
    align-self: flex-end;
  }

  .st-2 {
    margin-top: 0;
  }

  .sn-2 {
    align-self: flex-start;
  }

  /* ---- modes ---- */

  .modes-title {
    font-size: 8.2vw;
    line-height: 1.05;
    margin-bottom: 26px;
  }

  .pill {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 54px;
    margin-bottom: 12px;
    font-size: 17px;
    padding-left: 28px;
  }

  .mode-heading {
    align-self: flex-end;
    text-align: right;
    font-size: 26px;
    line-height: 1.2;
    margin: 26px 0 10px;
  }

  .mode-body {
    align-self: flex-end;
    width: 80%;
    max-width: 340px;
    text-align: right;
    font-size: 12px;
    line-height: 17px;
    margin-bottom: 22px;
  }

  .mode-img {
    display: none;
    width: 77%;
    max-width: 360px;
    align-self: flex-end;
    margin-right: -20px;
  }

  .mode-img.active {
    display: block;
    opacity: 1;
  }

  /* ---- work: full-bleed + swipe rails ---- */

  .work-title {
    font-size: 10vw;
    line-height: 1;
    margin-bottom: 12px;
  }

  .sec-work .g-group {
    display: block;
    width: 100%;
  }

  .sec-work .ph {
    position: static;
    width: 100%;
  }

  .swipe-hint {
    display: block;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(43, 97, 244, 0.5);
    margin: 18px 0 0;
  }

  .sec-work .g-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 14px -20px 0;
    width: calc(100% + 40px);
    padding: 0 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .g-rail::-webkit-scrollbar {
    display: none;
  }

  .g-rail .ph {
    flex: 0 0 62%;
    width: 62%;
    height: clamp(240px, 82vw, 430px);
    scroll-snap-align: start;
  }

  /* ---- contact ---- */

  .contact-title {
    font-size: 10.7vw;
    line-height: 1;
    margin-bottom: 16px;
  }

  .contact-sub {
    width: 80%;
    max-width: 300px;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 26px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    display: block;
    width: 100%;
    height: 52px;
    margin-bottom: 14px;
    font-size: 14px;
    padding: 0 24px;
  }

  .f-message {
    height: 130px !important;
    padding-top: 14px !important;
  }

  .submit-btn {
    display: block;
    margin: 6px auto 44px;
    font-size: 19px;
  }

  .footer-social {
    position: static;
    margin-bottom: 14px;
  }

  .footer-mail,
  .footer-copy {
    display: block;
    width: auto;
    text-align: left;
    margin-bottom: 8px;
  }
}
