/* ModeBit site — Lato, purple brand accents, Intrinsarc-style layout. */
:root {
  --purple: #6d5cf0; --purple-dark: #5747d6; --purple-soft: #eeebfe;
  --navy: #131a2e; --ink: #232a3b; --mut: #6b7280; --line: #e5e7eb;
  --band: #f4f5f7; --card: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; color: var(--ink);
       background: #fff; font-size: 22px; line-height: 1.62; }
a { color: var(--purple-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── top bar ─────────────────────────────────────────────────────────── */
header.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.top-inner { max-width: 1200px; margin: 0 auto; padding: 14px 28px;
             display: flex; align-items: center; gap: 34px; }
.top-inner .logo { display: inline-flex; align-items: center; }
.top-inner .logo img { height: 34px; display: block; }
nav.menu { display: flex; align-items: center; gap: 32px; margin-left: auto; }
nav.menu a { color: #3b4256; font-size: 19px; font-weight: 400; }
nav.menu a:hover { color: var(--purple-dark); text-decoration: none; }
nav.menu a.current { color: var(--purple-dark); font-weight: 700; }
a.login, nav.menu a.login {
  display: inline-block; background: var(--purple); color: #fff; font-weight: 700;
  padding: 10px 28px; border-radius: 8px; font-size: 18px;
  box-shadow: 0 1px 3px rgba(87,71,214,.35);
}
a.login:hover, nav.menu a.login:hover { background: var(--purple-dark); color: #fff;
  text-decoration: none; }

/* ── hero band + carousel ────────────────────────────────────────────── */
.band { background: var(--band); border-bottom: 1px solid var(--line); }
.hero { max-width: 1200px; margin: 0 auto; padding: 40px 28px 36px; }
.carousel { position: relative; }
.carousel .frame {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(19,26,46,.10); overflow: hidden;
  height: 600px; display: flex; align-items: center; justify-content: center;
}
.hero .dots { justify-content: center; margin: 20px 0 4px; }
.lockup { display: flex; align-items: center; gap: 48px; margin: 0 0 26px; flex-wrap: wrap; }
.brandline { display: flex; align-items: center; gap: 13px; }
.brandline h1 { font-size: 42px; font-weight: 900; letter-spacing: -.02em; margin: 0; }
.brandline h1 .w1 { color: #14263c; } .brandline h1 .w2 { color: #6b9fd4; }
.lockup .side { flex: 1; min-width: 320px; }
.lockup .side p { color: #4b5265; font-size: 24px; margin: 0; }
.lockup .side a.more { font-weight: 700; font-size: 20px; white-space: nowrap; margin-left: 14px; }
.carousel .slide { display: none; width: 100%; height: 100%;
                   align-items: center; justify-content: center; padding: 16px; }
.carousel .slide.on { display: flex; }
.carousel .slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.carousel button.nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 1px solid var(--line); background: #fff; color: #3b4256; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; font-size: 19px; line-height: 1;
  box-shadow: 0 2px 8px rgba(19,26,46,.14);
}
.carousel button.nav:hover { color: var(--purple-dark); }
.carousel .prev { left: -18px; } .carousel .next { right: -18px; }
.dots { display: flex; gap: 10px; margin-top: 20px; }
.dots button { width: 15px; height: 15px; border-radius: 50%; border: 0; cursor: pointer;
               background: #c9cdd6; padding: 0; }
.dots button.on { background: var(--purple); }
.slide-label { position: absolute; left: 14px; bottom: 12px; background: rgba(19,26,46,.78);
               color: #fff; font-size: 15px; padding: 5px 15px; border-radius: 999px; }

/* ── sections ────────────────────────────────────────────────────────── */
.page { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section.intro { padding: 44px 0 10px; max-width: 1080px; }
section.intro p { font-size: 22px; }
.threeup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 40px 0 60px; }
.threeup h3 { font-size: 23px; margin: 0 0 12px; color: var(--navy); }
.threeup a.shot { display: block; background: #fff; border: 1px solid var(--line);
                  border-radius: 10px; padding: 10px; height: 220px;
                  display: flex; align-items: center; justify-content: center;
                  box-shadow: 0 2px 10px rgba(19,26,46,.06); }
.threeup a.shot:hover { border-color: var(--purple); }
.threeup a.shot img { max-height: 100%; object-fit: contain; }

/* ── product page ────────────────────────────────────────────────────── */
.prod-head { padding: 46px 0 8px; max-width: 1080px; }
.prod-head h1 { font-size: 44px; font-weight: 900; letter-spacing: -.02em;
                color: var(--navy); margin: 0 0 14px; }
.prod-head h1 .w2 { color: #6b9fd4; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 6px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 8px; font-weight: 700;
       font-size: 18px; border: 1.5px solid var(--purple); color: var(--purple-dark); }
.btn:hover { background: var(--purple-soft); text-decoration: none; }
.btn.solid { background: var(--purple); color: #fff; }
.btn.solid:hover { background: var(--purple-dark); }
h2.gal-head { font-size: 31px; color: var(--navy); margin: 48px 0 6px; }
.gal-sub { color: var(--mut); margin: 0 0 28px; font-size: 19px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
           gap: 30px; padding-bottom: 70px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line);
                  border-radius: 12px; overflow: hidden; cursor: zoom-in;
                  box-shadow: 0 2px 10px rgba(19,26,46,.06);
                  transition: box-shadow .15s, transform .15s; }
.gallery figure:hover { box-shadow: 0 8px 24px rgba(19,26,46,.13); transform: translateY(-2px); }
.gallery .imgbox { height: 240px; display: flex; align-items: center; justify-content: center;
                   padding: 14px; background: #fbfbfd; border-bottom: 1px solid var(--line); }
.gallery .imgbox img { max-height: 100%; object-fit: contain; }
.gallery figcaption { padding: 16px 20px 18px; }
.gallery figcaption b { display: block; color: var(--navy); font-size: 21px; margin-bottom: 5px; }
.gallery figcaption span { color: #4b5265; font-size: 17.5px; line-height: 1.5; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; display: none;
      background: rgba(15,18,32,.82); align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb .box { background: #fff; border-radius: 14px; max-width: min(1180px, 92vw);
           max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
           box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lb .box img { flex: 1; min-height: 0; object-fit: contain; padding: 18px;
               max-width: 100%; max-height: calc(90vh - 92px); }
.lb .cap { padding: 12px 22px 18px; border-top: 1px solid var(--line); }
.lb .cap b { color: var(--navy); font-size: 22px; display: block; }
.lb .cap span { color: #4b5265; font-size: 17.5px; }
.lb button.x { position: absolute; top: 22px; right: 26px; background: rgba(255,255,255,.14);
               color: #fff; border: 0; font-size: 26px; width: 46px; height: 46px;
               border-radius: 50%; cursor: pointer; }
.lb button.x:hover { background: rgba(255,255,255,.28); }

/* ── contact ─────────────────────────────────────────────────────────── */
.beach-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
              box-shadow: 0 10px 30px rgba(19,26,46,.10); margin: 44px 0 34px; }
.beach-wrap img, .beach-wrap svg { display: block; width: 100%; }
.contact-copy { max-width: 1000px; padding-bottom: 40px; }
.contact-copy h1 { font-size: 44px; font-weight: 900; color: var(--navy);
                   letter-spacing: -.02em; margin: 0 0 14px; }
.contact-copy p { font-size: 22px; }
.email-card { display: inline-block; background: var(--purple-soft);
              border: 1px solid #d8d1fb; border-radius: 12px; padding: 18px 30px;
              font-size: 22px; margin: 12px 0 60px; }
.email-card a { font-weight: 700; }

/* ── footer ──────────────────────────────────────────────────────────── */
footer.site { background: #fff; color: #a6adbd; margin-top: 30px;
              border-top: 1px solid var(--line); font-size: 16px; }
footer.site .inner { max-width: 1200px; margin: 0 auto; padding: 20px 28px;
                     display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
footer.site a { color: #99a1b3; }
footer.site a:hover { color: var(--purple-dark); }
footer.site .spacer { margin-left: auto; }

@media (max-width: 980px) {
  .carousel .frame { height: 340px; }
  .lockup { gap: 20px; }
  .threeup { grid-template-columns: 1fr; }
  .top-inner { flex-wrap: wrap; gap: 14px; }
  nav.menu { gap: 18px; }
}
