/* =========================================
   K&J ORIZON — MASTER STYLE.CSS (CLEAN)
   ========================================= */

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  color: #000;
  background: #000; /* only visible if video fails */
  font-family: "Georgia", "Times New Roman", serif;
}

/* ---------- Typography: Body & Footer ---------- */
/* Body copy = Open Sans Light 300 */
.body{
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 300;
}
/* Footer details = Open Sans Regular 400 */
.footer{
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

/* ---------- Fixed background video ---------- */
.bg-video{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}
/* =========================
   HEADER / BURGER MENU
   ========================= */

/* =========================================
   HEADER + FULL SCREEN PUSH-DOWN MENU
   ========================================= */

.site-header{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000; /* keep burger visible as close button */
}

.burger{
  width: 28px;
  height: 20px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span{
  display: block;
  height: 1.5px;   /* thinner line */
  width: 100%;
  background: #000;
  transition: transform 0.45s ease, opacity 0.45s ease;
}


/* X state */
.burger.active span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2){
  opacity: 0;
}
.burger.active span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}
/* Burger turns white when menu is open */
body.menu-open .burger span{
  background: #fff;
}


/* Full screen panel */
.site-menu{
  position: fixed;
  inset: 0;
  background: #000;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;

  transform: translateY(-100%);
  transition: transform 0.45s ease;
  z-index: 2000;
}

.site-menu.open{
  transform: translateY(0);
}

.site-menu a{
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
}

/* Push whole page off screen */
.page{
  transition: transform 0.45s ease;
}

.page.menu-open{
  transform: translateY(100vh);
}

/* Stop scrolling behind menu */
body.menu-open{
  overflow: hidden;
}



/* Fallback image layer (hidden unless video fails) */
.bg-fallback{
  position: absolute;
  inset: 0;
  background: url("gradient-fallback.jpg") center / cover no-repeat;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.bg-video.is-fallback .bg-fallback{ opacity: 1; }
.bg-video.is-fallback video{ opacity: 0; }

/* ---------- Page layout ---------- */
.page{ min-height: 100vh; }

/* Full-screen hero */
.hero{
  height: 100vh;
  position: relative;
  padding: 0 6vw;
  overflow: hidden;
}

/* ---------- SVG LOGO (parallax + fade driven by JS) ---------- */
.logo-wrap{
  position: absolute;
  left: 50%;
  bottom: 6vh;
  width: 100vw;
  max-width: 1800px;
  padding: 0 4vw;

  /* driven by JS */
  --logoY: 0px;
  --logoO: 1;

  transform: translateX(-50%) translateY(var(--logoY));
  opacity: var(--logoO);
  will-change: transform, opacity;
}

.logo-wrap img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 30vh;
  object-fit: contain;
  margin: 0 auto;
}

/* Spacer so body copy arrives later (scrollable space, not just fade) */
.scroll-gap{ height: 15vh; } /* adjust: 10vh / 20vh / 30vh */

/* ---------- Body section ---------- */
.body{
  padding: 8vh 6vw 0 6vw;
}

.body-inner{
  max-width: 920px;
}

.bodycopy{
  font-size: clamp(24px, 2.2vw, 44px);
  line-height: 1.2;
  margin: 0 0 40px 0;
}

/* Contact link */
.contact{
  display: inline-block;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 6px;
}

.contact::before{
  content:"";
  display:block;
  width: 280px;
  border-top: 2px solid #000;
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.footer{
  padding: 8vh 6vw;
}

.rule{
  height: 1px;
  background: rgba(0,0,0,0.65);
  margin: 0 0 40px 0;
}

/* extra breathing room between © line and bottom rule */
.footer .rule:last-of-type{
  margin-top: 32px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "left mid"
    "bottom bottom";
  gap: 24px 60px;
  align-items: start;
}

.footer-left{
  grid-area: left;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.9;
}

.footer-mid{
  grid-area: mid;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-mid a{
  color: #000;
  text-decoration: none;
}

.footer-mid a:hover{
  text-decoration: underline;
}

.footer-bottom{
  grid-area: bottom;
  margin-top: 30px;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* ---------- Reveal (body/footer only) ---------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr;
    grid-template-areas: "left" "mid" "bottom";
  }

  .footer-mid{
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
  }

  .contact::before{ width: 200px; }
  .logo-wrap img{ max-height: 22vh; }
}

/* =========================================
   POLICY PAGES (privacy/cookies/terms)
   White page, black text, same footer styling
   ========================================= */

body.policy-page{
  background: #fff;
  color: #000;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

/* Remove video layer on policy pages */
body.policy-page .bg-video{
  display: none !important;
}

/* Big logo across top with same side margins as homepage */
body.policy-page .policy-header{
  padding: 6vh 6vw 3vh 6vw;
}

body.policy-page .policy-logo{
  width: 100%;
  max-width: 1800px;
}

body.policy-page .policy-logo img{
  display: block;
  width: 100%;
  height: auto;
}

/* Copy block margins */
body.policy-page .policy-wrap{
  padding: 0 6vw 8vh 6vw;
}

body.policy-page .policy-inner{
  max-width: 920px;
}

body.policy-page .policy-inner h1{
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin: 0 0 32px 0;
}

body.policy-page .policy-inner h2{
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 56px 0 16px 0;
}

body.policy-page .policy-inner p,
body.policy-page .policy-inner li{
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

body.policy-page .policy-inner ul{
  padding-left: 18px;
  margin: 0 0 24px 0;
}

body.policy-page .policy-inner a{
  color: #000;
  text-decoration: underline;
}
/* ---------- LEGAL PAGES ---------- */
body.policy-page{
  background:#fff;
  color:#000;
}

/* kill homepage video layer on legal pages */
body.policy-page .bg-video{ display:none !important; }

/* logo at top with same left/right as homepage */
body.policy-page .legal-header{
  padding: 6vh 6vw 3vh 6vw;
}

body.policy-page .legal-logo-link{
  display:block;
  text-decoration:none;
}

body.policy-page .legal-logo{
  display:block;
  width:100%;
  max-width: 1800px;
  height:auto;
}

/* content width + typography */
body.policy-page .legal{
  padding: 0 6vw 10vh 6vw;
}

body.policy-page .legal-inner{
  max-width: 920px;
}

body.policy-page .legal-title{
  font-size: 30px;        /* reduce heading size */
  line-height: 1.1;
  font-weight: 400;
  margin: 24px 0 24px 0;
}
/* ---------- Policy page links (email, inline links) ---------- */
body.policy-page .legal a{
  color: inherit;            /* same black as body text */
  text-decoration: underline;
}

body.policy-page .legal a:hover{
  text-decoration: none;     /* subtle editorial hover */
}


@media (max-width: 900px){
  body.policy-page .legal-title{
    font-size: 30px;
  }
}


