/*
Theme Name: Makena Golf Beach Club
Theme URI: https://example.com
Author: Your Studio
Author URI: https://example.com
Description: Elementor-compatible WordPress theme converted from a static HTML layout. Front page text and images are editable from Appearance > Customize, and Elementor (free) can be used to build any additional pages.
Version: 1.0
Requires PHP: 7.4
Text Domain: makena
*/

  :root{
    --color-main:#203276;
    --color-main-tint:#213375cc;
    --color-white-pure:#fff;
    --color-black-pure:#000;
    --color-offset-2:#d6eaf0;
    --color-offset-4:#faf8f7;
    --color-highlight-rich:#9a3630;
    --font-sans:'Jost', Arial, sans-serif;
    --font-display:'Playfair Display', Georgia, serif;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{margin:0;font-family:var(--font-sans);font-weight:300;color:#1a1a1a;background:#fff;}
  img{max-width:100%;display:block;object-fit:cover;}
  a{color:inherit;}
  button{font-family:inherit;}
  .site-max{max-width:1440px;margin:0 auto;padding:0 4rem;}
  @media(max-width:900px){.site-max{padding:0 2rem;}}
  @media(max-width:480px){.site-max{padding:0 0.8rem;}}

  /* ---------- HEADER (ORIGINAL UNTOUCHED) ---------- */
  header.sh{position:fixed;top:0;left:0;width:100%;z-index:100;color:#fff;transition:background-color .4s ease,color .4s ease,box-shadow .4s ease;}
  header.sh.scrolled{background:#fff;color:#152056;box-shadow:0 2px 14px rgba(0,0,0,.07);}
  .sh__content{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:6.4rem;column-gap:1rem;padding:0 2.6rem;}
  .menu-toggle{display:flex;align-items:center;gap:.8rem;background:none;border:none;color:inherit;cursor:pointer;letter-spacing:.2em;font-size:.75rem;text-transform:uppercase;justify-self:start;}
  .menu-toggle .bars{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border:1px solid currentColor;border-radius:2px;width:32px;height:32px;}
  .menu-toggle .bars span{width:16px;height:1px;background:currentColor;display:block;}
  .sh__logo{grid-column:2;justify-self:center;text-align:center;text-decoration:none;line-height:1;}
  .sh__logo .word{font-family:var(--font-display);font-weight:600;font-size:1.5rem;letter-spacing:.12em;display:block;}
  .sh__logo .sub{font-size:.55rem;letter-spacing:.32em;display:block;margin-top:.4rem;opacity:.75;}
  .sh__cta{display:inline-flex;align-items:center;justify-content:center;height:32px;border:1px solid currentColor;border-radius:3px;padding:0 1.9rem;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .3s ease,color .3s ease;justify-self:end;}
  header.sh.scrolled .sh__cta{background:#152056;color:#fff;border-color:#152056;}
  .sh__cta:hover{opacity:.75;}

  /* ---------- FULL SCREEN MENU OVERLAY ---------- */
  .menu-overlay{
    position:fixed;inset:0;z-index:200;background:var(--color-main);color:#fff;
    display:none;flex-direction:column;overflow-y:auto;
  }
  .menu-overlay.open{display:flex;}
  .menu-overlay .sh__content{height:6.4rem;flex-shrink:0;}
  .menu-close{display:flex;align-items:center;gap:.9rem;background:none;border:none;color:#fff;cursor:pointer;letter-spacing:.2em;font-size:.75rem;text-transform:uppercase;justify-self:start;}
  .menu-close .x-box{width:26px;height:26px;border:1px solid #fff;border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:.9rem;line-height:1;}
  .menu-body{display:flex;flex:1;min-height:0;}
  .menu-left{flex:1 1 50%;display:flex;flex-direction:column;justify-content:space-between;padding:2rem 4rem 3rem;}
  .menu-columns{display:flex;gap:7rem;flex-wrap:wrap;}
  .menu-col{min-width:160px;}
  .menu-col + .menu-col{margin-top:0;}
  .menu-col.experiences-col{margin-top:0;}
  .menu-col h4{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin:0 0 1.3rem;font-weight:400;}
  .menu-col ul{list-style:none;margin:0;padding:0;}
  .menu-col li{margin-bottom:.7rem;}
  .menu-col a{text-decoration:none;font-size:1rem;color:#fff;opacity:.92;transition:opacity .3s ease;}
  .menu-col a:hover{opacity:1;}
  .menu-col a.current{opacity:.5;pointer-events:none;}
  .menu-real-estate{margin-top:3rem;}
  .menu-real-estate h4{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin:0 0 1.3rem;font-weight:400;}
  .menu-real-estate ul{list-style:none;margin:0;padding:0;}
  .menu-real-estate li{margin-bottom:.7rem;}
  .menu-real-estate a{text-decoration:none;font-size:1rem;color:#fff;opacity:.92;transition:opacity .3s ease;}
  .menu-real-estate a:hover{opacity:1;}
  .menu-location{margin-top:3rem;}
  .menu-location h4{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin:0 0 1rem;font-weight:400;}
  .menu-location p{margin:0;line-height:1.6;font-size:.95rem;opacity:.85;}
  .menu-maps-btn{margin-top:1.3rem;display:inline-block;border:1px solid #fff;border-radius:3px;padding:.7rem 1.5rem;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;text-decoration:none;color:#fff;background:none;cursor:pointer;transition:background .3s ease,color .3s ease;}
  .menu-maps-btn:hover{background:#fff;color:var(--color-main);}
  .menu-image{flex:1 1 50%;overflow:hidden;padding:2rem 4rem 4rem 0;box-sizing:border-box;display:flex;}
  .menu-image img{width:100%;height:100%;object-fit:cover;border-radius:2px;}
  @media(max-width:960px){
    .menu-body{flex-direction:column;overflow-y:auto;}
    .menu-image{display:none;}
    .menu-left{flex:none;padding:1.5rem 1.6rem 2.5rem;}
    .menu-columns{gap:3.5rem;}
  }
  @media(max-width:640px){
    header.sh{background:transparent;}
    header.sh.scrolled{background:#fff;}
    .sh__content{padding:0 1.6rem;height:5.6rem;display:flex;align-items:center;justify-content:space-between;}
    .menu-toggle{order:2;}
    .sh__logo{order:1;text-align:left;justify-self:auto;grid-column:auto;}
    .menu-toggle .menu-label{display:none;}
    .menu-toggle .bars{width:34px;height:34px;}
    .sh__cta{display:none;}
    .menu-overlay .sh__content{display:flex;align-items:center;justify-content:space-between;padding:0 1.6rem;height:5.6rem;}
    .menu-overlay .sh__logo{order:1;text-align:left;justify-self:auto;}
    .menu-overlay .menu-close{order:2;}
    .menu-overlay .menu-close .close-label{display:none;}
    .menu-overlay .sh__cta{display:none;}
    .menu-columns{gap:2.2rem;flex-wrap:nowrap;justify-content:space-between;}
    .menu-col.experiences-col{margin-top:0;}
  }

  /* ---------- HERO ---------- */
  .hero{position:relative;height:100svh;min-height:560px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;background:#000;}
  .hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92;}
  .hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.08) 42%,rgba(0,0,0,.55));z-index:1;}
  .hero-inner{position:relative;z-index:2;padding:0 2rem;}
  .hero .eyebrow{letter-spacing:.35em;font-size:.72rem;opacity:.9;margin-bottom:1.8rem;text-transform:uppercase;}
  .hero h1{font-family:var(--font-display);font-weight:500;font-size:clamp(2.4rem,6vw,5.4rem);line-height:1.05;margin:0;}
  .scroll-cue{position:absolute;bottom:2.4rem;left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:.6rem;cursor:pointer;background:none;border:none;padding:.6rem;}
  .scroll-cue .line{width:1px;height:60px;background:rgba(255,255,255,.3);position:relative;overflow:hidden;border-radius:2px;}
  .scroll-cue .line::after{content:"";position:absolute;top:-100%;left:0;width:100%;height:100%;background:#fff;animation:scrollLine 2s infinite cubic-bezier(.4,0,.2,1);}
  @keyframes scrollLine{0%{top:-100%;}100%{top:100%;}}

  /* ---------- INTRO STATEMENT ---------- */
  .intro{padding-top:6.4rem;padding-bottom:4.5rem;text-align:center;}
  .eyebrow-label{letter-spacing:.28em;font-size:.72rem;color:var(--color-main-tint);text-transform:uppercase;margin-bottom:1.7rem;font-weight:400;}
  .intro h2{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.45;max-width:940px;margin:0 auto;color:#17213f;}

  /* ---------- OVERVIEW 2-COL ---------- */
  .two-col{padding-top:3rem;padding-bottom:6rem;}
  .two-col .grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start;}
  .two-col h3{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,2.6vw,2.2rem);line-height:1.4;margin:0;color:#111;}
  .two-col p{line-height:1.85;color:#3a3a3a;font-size:1rem;}
  @media(max-width:860px){.two-col .grid{grid-template-columns:1fr;gap:2rem;}}

  /* ---------- LIFE / VIDEO SPLIT ---------- */
  .life-split{padding:9rem 0 6rem;padding-left:144px;padding-right:127px;}
  .life-split .row{display:flex;align-items:flex-start;gap:98px;}
  .life-split .main-img{flex:1 1 auto;aspect-ratio:4/3;border-radius:2px;overflow:hidden;}
  .life-split .side-img{flex:0 0 353px;width:353px;height:469px;border-radius:2px;overflow:hidden;margin-top:196px;}
  @media(max-width:860px){
    .life-split{padding:4rem 0.8rem 2rem;}
    .life-split .row{flex-direction:column;align-items:stretch;gap:1.5rem;}
    .life-split .main-img{flex:0 0 100%;width:100%;aspect-ratio:1/1;}
    .life-split .side-img{flex:0 0 100%;width:100%;height:calc(56.25vw + 30px);margin-top:0;}
  }
  @media(max-width:480px){.life-split{padding:3rem 0.6rem 2rem;}}

  /* ---------- FULL BLEED BANNER ---------- */
  .full-banner{height:78vh;min-height:400px;overflow:hidden;}

  /* ---------- ABOUT SPLIT ---------- */
  .split{padding-top:6.5rem;padding-bottom:6.5rem;}
  .split .grid{display:grid;grid-template-columns:1fr 1.05fr;gap:5rem;align-items:center;}
  .split img{border-radius:2px;aspect-ratio:3/4;}
  .split .copy h3{font-family:var(--font-display);font-weight:400;font-size:2.1rem;margin:1rem 0 1.4rem;}
  .split .copy p{line-height:1.8;color:#3a3a3a;}
  .btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-highlight-rich);color:var(--color-highlight-rich);padding:.9rem 2.2rem;border-radius:3px;text-decoration:none;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;margin-top:2rem;transition:background .3s ease,color .3s ease;cursor:pointer;background:none;}
  .btn:hover{background:var(--color-highlight-rich);color:#fff;}
  @media(max-width:860px){.split .grid{grid-template-columns:1fr;gap:2rem;}}

  /* ---------- EXPERIENCES STRIP (70% main + 30% peeking slide) ---------- */
  .experiences{padding:7.5rem 0;text-align:center;background:#fff;}
  .experiences p.desc{max-width:680px;margin:1.7rem auto 0;line-height:1.8;color:#3a3a3a;}
  .strip-wrap{position:relative;margin-top:4rem;}
  .strip{display:flex;gap:2rem;overflow-x:auto;padding:0 4rem 1.4rem;scroll-snap-type:x mandatory;scrollbar-width:none;}
  @media(max-width:900px){.strip{padding:0 2rem 1.4rem;}}
  @media(max-width:600px){
    .strip{padding:0 0.8rem 1.4rem;gap:1.2rem;}
    .strip .card{flex:0 0 72% !important;width:72% !important;scroll-snap-align:start;}
    .strip .card img{width:100%;height:auto;aspect-ratio:340/420;}
    .strip .card:nth-child(2n){margin-top:0;}
    .strip .card:nth-child(2n) img{height:auto;aspect-ratio:340/420;}
  }
  .strip::-webkit-scrollbar{display:none;}
  .strip .card{flex:0 0 auto;width:340px;scroll-snap-align:start;}
  .strip .card img{width:340px;height:420px;border-radius:2px;}
  .strip .card:nth-child(2n){margin-top:3.5rem;}
  .strip .card:nth-child(2n) img{height:280px;}
  .strip-track{position:relative;height:1px;background:rgba(0,0,0,.12);margin-top:.5rem;cursor:pointer;}
  .strip-thumb{position:absolute;top:50%;left:0;height:3px;width:120px;background:#1a1a1a;border-radius:3px;transform:translateY(-50%);cursor:grab;touch-action:none;}
  .strip-thumb:active{cursor:grabbing;}
  @media(max-width:480px){.strip-thumb{width:70px;}}
  .nav-row{display:flex;align-items:center;gap:1.6rem;max-width:1200px;margin:2.4rem auto 0;padding:0 4rem;}
  .nav-btn{width:40px;height:40px;border-radius:3px;border:none;background:#f2eee8;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .3s ease;}
  .nav-btn:hover{background:#152056;color:#fff;}
  .progress-track{flex:1;height:1px;background:var(--color-offset-2);position:relative;}
  .progress-track .fill{position:absolute;left:0;top:0;height:1px;width:30%;background:#111;}
  @media(max-width:900px){.nav-row{display:none;}}

  /* ---------- REAL ESTATE TIMELINE ---------- */
  .real-estate{padding-top:7.5rem;padding-bottom:7.5rem;background:var(--color-offset-4);}
  .real-estate .grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
  .real-estate h3{font-family:var(--font-display);font-weight:400;font-size:2.2rem;margin:1rem 0 1.4rem;}
  .real-estate p{line-height:1.85;color:#3a3a3a;}
  .re-list{list-style:none;padding:0;margin:2.6rem 0 0;border-top:1px solid rgba(0,0,0,.15);}
  .re-list li{border-bottom:1px solid rgba(0,0,0,.15);}
  .re-list button{display:block;width:100%;text-align:left;padding:1.2rem 0;font-size:1.05rem;text-decoration:none;color:#222;background:none;border:none;cursor:pointer;font-family:inherit;transition:opacity .3s ease,padding-left .3s ease;}
  .re-list button:hover,.re-list button.active{opacity:.55;padding-left:.6rem;}
  .real-estate .re-image{aspect-ratio:3/4;border-radius:2px;overflow:hidden;position:relative;}
  .real-estate .re-image img{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .5s ease;}
  .real-estate .re-image img.active{opacity:1;}
  @media(max-width:860px){.real-estate .grid{grid-template-columns:1fr;gap:2.4rem;}}

  /* ---------- MOMENTS PEEKING CAROUSEL (ORIGINAL PEEKING DESIGN + INFINITE LOOP) ---------- */
  .moments{padding:7.5rem 0;text-align:center;background:#fff;}
  .moments p.desc{max-width:680px;margin:1.7rem auto 0;line-height:1.8;color:#3a3a3a;}
  .moments-carousel{position:relative;max-width:1400px;width:calc(100% - 8rem);margin:4rem auto 0;overflow:hidden;}
  .m-arrows{display:contents;}
  @media(max-width:900px){.moments-carousel{width:calc(100% - 4rem);}}
  @media(max-width:480px){.moments-carousel{width:calc(100% - 1.6rem);}}
  .moments-track{display:flex;align-items:center;gap:2rem;transition:transform .5s cubic-bezier(.4,0,.2,1);}
  .moments-slide{flex:0 0 62%;max-width:900px;position:relative;transform:scale(.82);opacity:.55;transition:transform .5s cubic-bezier(.4,0,.2,1),opacity .5s ease;transform-origin:center center;}
  .moments-slide.active{transform:scale(1);opacity:1;z-index:2;}
  .moments-slide .img-wrap{aspect-ratio:16/9;border-radius:2px;overflow:hidden;position:relative;}
  @media(max-width:900px){.moments-slide{flex:0 0 94%;}}
  .m-arrow{
    position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:4px;
    border:none;background:#f1f1f1;display:flex;align-items:center;justify-content:center;
    cursor:pointer;z-index:5;transition:background .3s ease;
  }
  .m-arrow:hover{background:#e6e6e6;}
  .m-arrow.prev{left:1.6rem;}
  .m-arrow.next{right:1.6rem;}
  @media(max-width:640px){
    .moments-carousel{display:flex;flex-direction:column;}
    .moments-track{order:1;}
    .m-arrows{order:2;position:static;display:flex;justify-content:space-between;width:100%;margin-top:1.4rem;}
    .m-arrow{position:static;transform:none;width:38px;height:38px;}
  }
  .moments-caption{margin-top:2.2rem;}
  .moments-caption h4{font-family:var(--font-display);font-weight:400;font-size:1.7rem;margin:0 0 1.4rem;}

  /* ---------- EXPLORE MORE ---------- */
  .explore{padding:6.5rem 0 7.5rem;text-align:center;background:var(--color-offset-4);}
  .explore .eyebrow-label{margin-bottom:0;}
  .explore h2{font-family:var(--font-display);font-weight:400;font-size:2.4rem;margin:0 0 3.4rem;}
  .explore-strip{display:flex;gap:2rem;overflow-x:auto;max-width:1440px;margin:0 auto;padding:0 4rem 1rem;scrollbar-width:none;scroll-behavior:smooth;cursor:grab;user-select:none;}
  .explore-strip.dragging{cursor:grabbing;scroll-behavior:auto;}
  @media(max-width:900px){.explore-strip{padding:0 2rem 1rem;}}
  @media(max-width:480px){.explore-strip{padding:0 0.8rem 1rem;}}
  .explore-strip::-webkit-scrollbar{display:none;}
  .explore-strip .card{flex:0 0 calc((100% - 4rem) / 2.6);text-align:left;}
  .explore-strip .card .img-wrap{aspect-ratio:1/1;border-radius:2px;overflow:hidden;}
  .explore-strip .card h5{margin:1.2rem 0 0;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:400;color:#333;}
  @media(max-width:900px){.explore-strip .card{flex:0 0 240px;}}

  /* ---------- FOOTER ---------- */
  footer{background:var(--color-main);color:#fff;padding:5.5rem 0 2.6rem;}
  .foot-top{display:grid;grid-template-columns:1.2fr 2.6fr;gap:3rem;}
  .foot-logo .word{font-family:var(--font-display);font-weight:600;font-size:1.9rem;letter-spacing:.1em;display:block;}
  .foot-logo .sub{font-size:.62rem;letter-spacing:.3em;opacity:.6;display:block;margin-top:.5rem;}
  .foot-cols{display:flex;gap:5rem;flex-wrap:wrap;justify-content:flex-end;}
  footer h3{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin-bottom:1.5rem;font-weight:400;}
  footer ul{list-style:none;margin:0;padding:0;}
  footer li{margin-bottom:.75rem;}
  footer a{text-decoration:none;font-size:.95rem;opacity:.9;}
  footer a:hover{opacity:1;text-decoration:underline;}
  .foot-contact{margin-top:5rem;}
  .foot-contact ul{display:flex;flex-direction:column;gap:.7rem;}
  .foot-bottom{margin-top:5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.2);display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1.5rem;font-size:.8rem;opacity:.6;}
  .foot-bottom .links{display:flex;flex-direction:column;gap:.6rem;}
  @media(max-width:900px){
    .foot-top{grid-template-columns:1fr;}
    .foot-cols{justify-content:flex-start;gap:3rem;}
    .foot-bottom{flex-direction:column;align-items:flex-start;}
  }