:root{
    --navy: #0b2e3a;
    --navy-deep: #071c24;
    --gold: #c9a24a;
    --gold-light: #f0dca0;
    --sand: #f6f1e6;
    --sand-warm: #efe7d6;
    --ink: #16201f;
    --ink-soft: #4a5654;
    --white: #ffffff;
    --line: rgba(201,162,74,0.35);
  }
  :root:not([data-theme="light"]){
    color-scheme: dark light;
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --navy: #0b2e3a;
      --sand: #f6f1e6;
    }
  }
  :root[data-theme="dark"]{
    --navy: #0b2e3a;
    --sand: #f6f1e6;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  body{
    margin:0;
    background: var(--sand);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  @media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior:auto !important;}
  }

  a{ color: inherit; }
  img{ max-width:100%; display:block; }
  .sr-only{
    position:absolute; width:1px; height:1px;
    padding:0; margin:-1px; overflow:hidden;
    clip: rect(0,0,0,0); white-space:nowrap; border:0;
  }

  h1,h2,h3{
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
  }

  .container{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 6vw;
  }

  /* ---------- NAV ---------- */
  .nav{
    position: fixed;
    top:0; left:0; right:0;
    z-index: 50;
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding: 22px 6vw;
    mix-blend-mode: normal;
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter .4s ease;
  }
  .nav.scrolled{
    background: rgba(11,46,58,0.88);
    backdrop-filter: blur(10px);
    padding: 14px 6vw;
    box-shadow: 0 1px 0 var(--line);
  }
  .nav-mark{
    display:flex; align-items:center; gap:10px;
    font-family:'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.06em;
  }
  .nav-mark img{ height: 30px; width:auto; }
  .nav-links{
    display:flex; gap: 34px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }
  .nav-links a{
    text-decoration:none;
    color: rgba(255,255,255,0.82);
    position: relative;
    padding-bottom: 4px;
  }
  .nav-links a:hover{ color: var(--gold-light); }
  .nav-phone{
    font-size: 0.82rem;
    color: var(--gold-light);
    text-decoration:none;
    letter-spacing: 0.04em;
    display:flex; align-items:center; gap:8px;
  }
  @media (max-width: 760px){
    .nav-links{ display:none; }
  }

  /* ---------- HERO ---------- */
  .hero{
    position: relative;
    height: 100svh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--white);
  }
  .hero-slides{
    position:absolute; inset:0;
  }
  .hero-slide{
    position:absolute; inset:0;
  }
  .hero-slide img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit: cover;
    animation: kenBurns 26s ease-in-out infinite alternate;
  }
  @keyframes kenBurns{
    0%   { transform: scale(1.0) translate(0,0); }
    100% { transform: scale(1.12) translate(-1.2%, -1.5%); }
  }

  .hero-overlay{
    position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(7,20,26,0.5) 0%, rgba(7,20,26,0.08) 28%, rgba(7,20,26,0.18) 60%, rgba(7,20,26,0.88) 100%);
  }

  /* ---------- METAL PLAQUE ON THE POOL ---------- */
  .hero-plaque{
    position:absolute;
    z-index: 4;
    left: 63.5%;
    top: 68%;
    width: clamp(64px, 6.4vw, 104px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:
      radial-gradient(circle at 32% 28%, #f4ecd8 0%, #cbb587 22%, #8d7a55 46%, #4a3f2a 72%, #2a2318 100%);
    box-shadow:
      0 2px 6px rgba(0,0,0,0.5),
      0 10px 22px rgba(0,0,0,0.45),
      inset 0 1px 1px rgba(255,255,255,0.5),
      inset 0 -2px 4px rgba(0,0,0,0.55);
    opacity: 0;
    animation: riseIn 1s ease 1.5s forwards, plaqueGleam 6s ease-in-out 2.5s infinite;
  }
  .hero-plaque::before{
    content:"";
    position:absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
  }
  .hero-plaque img{
    width: 46%;
    height:auto;
    margin-bottom: 2%;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.4));
  }
  .hero-plaque span{
    font-family:'Archivo', sans-serif;
    font-weight: 700;
    font-size: clamp(0.42rem, 0.7vw, 0.62rem);
    letter-spacing: 0.14em;
    color: #2a2318;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  }
  @keyframes plaqueGleam{
    0%, 100%{ filter: brightness(1); }
    50%{ filter: brightness(1.18); }
  }
  @media (max-width: 700px){
    .hero-plaque{ left: 58%; top: 63%; width: 58px; }
  }

  .hero-content{
    position:relative; z-index: 3;
    text-align:center;
    padding: 0 6vw;
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  /* ---------- DOMINANT PREMIUM LOGO (relief + shine sweep) ---------- */
  .hero-logo-stage{
    position: relative;
    width: clamp(260px, 34vw, 460px);
    margin-bottom: 6px;
    perspective: 900px;
    opacity: 0;
    animation: riseIn 1.2s cubic-bezier(.16,.8,.24,1) 0.15s forwards;
  }
  .hero-logo{
    position: relative;
    width: 100%;
    height:auto;
    display:block;
    transform-style: preserve-3d;
    /* layered drop-shadows = embossed metal relief */
    filter:
      drop-shadow(0 1px 0 rgba(255,255,255,0.45))
      drop-shadow(0 -2px 3px rgba(0,0,0,0.35))
      drop-shadow(0 18px 34px rgba(0,0,0,0.5))
      drop-shadow(0 2px 10px rgba(201,162,74,0.25));
    animation: logoFloat 6s ease-in-out infinite, logoTilt 9s ease-in-out infinite;
    transform-origin: center;
  }
  @keyframes logoFloat{
    0%, 100%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-12px) scale(1.015); }
  }
  @keyframes logoTilt{
    0%, 100%{ transform: rotateX(0deg) rotateY(0deg); }
    25%{ transform: rotateX(4deg) rotateY(-5deg); }
    75%{ transform: rotateX(-3deg) rotateY(5deg); }
  }
  /* shine sweep masked to the exact logo silhouette */
  .hero-logo-stage::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(115deg,
      transparent 25%,
      rgba(255,255,255,0.85) 47%,
      rgba(255,255,255,0.95) 50%,
      rgba(255,255,255,0.85) 53%,
      transparent 75%);
    background-size: 320% 320%;
    background-position: 120% 120%;
    -webkit-mask-image: url("../images/logo.png");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("../images/logo.png");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mix-blend-mode: overlay;
    opacity: 0.9;
    pointer-events: none;
    animation: shineSweep 4.5s ease-in-out 1.4s infinite;
  }
  @keyframes shineSweep{
    0%   { background-position: 130% 130%; }
    38%  { background-position: -30% -30%; }
    100% { background-position: -30% -30%; }
  }
  .hero-sub{
    margin-top: 6px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    color: var(--gold-light);
    letter-spacing: 0.03em;
    opacity: 0;
    animation: riseIn 1.1s ease 0.55s forwards;
  }
  @keyframes riseIn{
    from{ opacity:0; transform: translateY(16px); }
    to{ opacity:1; transform: translateY(0); }
  }

  .hero-divider{
    width: 46px; height: 1px;
    background: var(--gold);
    margin: 28px 0 22px;
    opacity: 0;
    animation: riseIn 1.1s ease 0.75s forwards;
  }
  .hero-open{
    opacity: 0;
    animation: riseIn 1.1s ease 0.85s forwards;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
  }
  .hero-date{
    font-family:'Archivo', sans-serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    color: var(--white);
    letter-spacing: -0.005em;
    margin-bottom: 32px;
    opacity: 0;
    animation: riseIn 1.1s ease 1s forwards;
  }
  .hero-date b{ color: var(--gold-light); font-weight:700; }

  .countdown{
    display:flex;
    gap: clamp(14px, 3vw, 34px);
    opacity: 0;
    animation: riseIn 1.1s ease 1.15s forwards;
  }
  .cd-unit{
    display:flex; flex-direction:column; align-items:center;
    min-width: 58px;
  }
  .cd-num{
    font-family:'Archivo', sans-serif;
    font-size: clamp(1.9rem, 4.6vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height:1;
    font-variant-numeric: tabular-nums;
  }
  .cd-label{
    margin-top: 9px;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.6);
  }
  .cd-sep{
    align-self: flex-start;
    margin-top: 4px;
    font-family:'Archivo', sans-serif;
    font-weight: 300;
    font-size: clamp(1.4rem, 3.6vw, 2.1rem);
    color: var(--gold);
  }

  .scroll-cue{
    position:absolute;
    bottom: 26px; left:50%;
    transform: translateX(-50%);
    z-index:3;
    width: 1px; height: 44px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  }
  .scroll-cue::after{
    content:"";
    position:absolute; left:50%; top:0;
    width:5px; height:5px;
    margin-left:-2.5px;
    background: var(--gold-light);
    border-radius:50%;
    animation: cueMove 2.2s ease-in-out infinite;
  }
  @keyframes cueMove{
    0%{ top:0; opacity:0; }
    20%{ opacity:1; }
    90%{ opacity:1; }
    100%{ top:40px; opacity:0; }
  }

  /* ---------- SCROLL REVEAL (Apple/Dyson-style single orchestrated reveal) ---------- */
  .reveal{
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1);
  }
  .reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
  }

  /* ---------- INTRO ---------- */
  .intro{
    padding: 108px 0 92px;
    text-align:center;
  }
  .intro .eyebrow-line{
    display:flex; align-items:center; justify-content:center; gap:14px;
    margin-bottom: 22px;
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
  }
  .eyebrow-line span.rule{ width:34px; height:1px; background: var(--gold); }
  .intro h2{
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    color: var(--navy);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.25;
  }
  .intro p{
    max-width: 560px;
    margin: 26px auto 0;
    color: var(--ink-soft);
    line-height: 1.85;
    font-size: 1rem;
  }

  /* ---------- GALLERY MARQUEE ---------- */
  .gallery-wrap{
    position: relative;
    padding: 10px 0 120px;
    overflow: hidden;
  }
  .gallery-wrap::before,
  .gallery-wrap::after{
    content:"";
    position:absolute; top:0; bottom:0;
    width: 8vw;
    z-index: 2;
    pointer-events:none;
  }
  .gallery-wrap::before{ left:0; background: linear-gradient(90deg, var(--sand), rgba(246,241,230,0)); }
  .gallery-wrap::after{ right:0; background: linear-gradient(270deg, var(--sand), rgba(246,241,230,0)); }

  .marquee-track{
    display:flex;
    width: max-content;
    animation: scrollLeft 52s linear infinite;
  }
  .marquee-track:hover{ animation-play-state: paused; }
  @keyframes scrollLeft{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
  }
  .g-card{
    position:relative;
    flex: 0 0 auto;
    width: 320px;
    height: 400px;
    margin-right: 22px;
    border-radius: 2px;
    overflow: hidden;
  }
  .g-card:nth-child(even){
    margin-top: 46px;
  }
  .g-card img{
    width:100%; height:100%;
    object-fit: cover;
    transition: transform 6s ease;
  }
  .g-card:hover img{ transform: scale(1.08); }
  .g-card::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, transparent 55%, rgba(7,28,36,0.55) 100%);
  }

  /* ---------- FEATURES ---------- */
  .features{
    background: var(--navy);
    color: var(--white);
    padding: 100px 0;
  }
  .features-inner{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }
  @media (max-width: 820px){
    .features-inner{ grid-template-columns: 1fr; gap: 44px; }
  }
  .feature{
    text-align:center;
    padding: 0 10px;
  }
  .feature-num{
    font-family:'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
  }
  .feature h3{
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 14px;
    font-weight: 500;
  }
  .feature p{
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.68);
    max-width: 300px;
    margin: 0 auto;
  }

  /* ---------- VISIT / ADDRESS ---------- */
  .visit{
    padding: 120px 0 110px;
  }
  .visit-grid{
    display:grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
  }
  @media (max-width: 860px){
    .visit-grid{ grid-template-columns: 1fr; }
  }
  .visit-img{
    position:relative;
    min-height: 380px;
    overflow:hidden;
  }
  .visit-img img{
    width:100%; height:100%;
    object-fit: cover;
    position:absolute; inset:0;
  }
  .visit-info{
    padding: 60px 56px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  @media (max-width: 560px){
    .visit-info{ padding: 44px 30px; }
  }
  .visit-info .eyebrow-line{ justify-content: flex-start; }
  .visit-info h2{
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--navy);
    margin-bottom: 30px;
  }
  .info-row{
    display:flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(11,46,58,0.1);
  }
  .info-row:last-of-type{ border-bottom: 1px solid rgba(11,46,58,0.1); }
  .info-icon{
    width: 20px; flex-shrink:0;
    margin-top: 3px;
    color: var(--gold);
  }
  .info-row .label{
    display:block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    margin-bottom: 6px;
  }
  .info-row .value{
    font-size: 1.02rem;
    color: var(--navy);
  }
  .info-row a.value{ text-decoration:none; }
  .info-row a.value:hover{ color: var(--gold); }
  .hours-grid{
    display:flex; flex-direction:column; gap:4px;
  }
  .hours-line{
    display:flex; justify-content:space-between;
    font-size: 0.95rem;
    color: var(--navy);
    max-width: 280px;
  }
  .hours-line span:last-child{ color: var(--ink-soft); }

  .cta-row{
    margin-top: 34px;
    display:flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 14px 26px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-decoration:none;
    border: 1px solid var(--navy);
    color: var(--navy);
    transition: background .3s ease, color .3s ease, transform .3s ease;
  }
  .btn svg{ width:15px; height:15px; flex-shrink:0; }
  .btn.primary{
    position: relative;
    background: var(--navy);
    color: var(--white);
  }
  .btn.primary::before{
    content:"";
    position:absolute; inset:0;
    border: 1px solid var(--gold);
    opacity: 0.7;
    animation: btnPulse 2.2s ease-out infinite;
    pointer-events:none;
  }
  @keyframes btnPulse{
    0%{ transform: scale(1); opacity: 0.55; }
    80%{ transform: scale(1.16); opacity: 0; }
    100%{ opacity: 0; }
  }
  .btn.primary:hover{ background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
  .btn:not(.primary):hover{ background: var(--navy); color: var(--white); }

  /* phone pulse dot in nav */
  .nav-phone{ position: relative; }
  .phone-dot{
    width:7px; height:7px;
    border-radius:50%;
    background: var(--gold-light);
    position:relative;
    flex-shrink:0;
  }
  .phone-dot::after{
    content:"";
    position:absolute; inset:-5px;
    border-radius:50%;
    border: 1px solid var(--gold-light);
    animation: btnPulse 2.2s ease-out infinite;
  }

  /* floating call button (mobile-first quick access) */
  .float-call{
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 58px; height:58px;
    border-radius:50%;
    background: var(--navy);
    display:flex; align-items:center; justify-content:center;
    text-decoration:none;
    box-shadow: 0 8px 24px rgba(7,28,36,0.35);
  }
  .float-call svg{ width:22px; height:22px; color: var(--gold-light); }
  .float-call::before{
    content:"";
    position:absolute; inset:0;
    border-radius:50%;
    border: 1px solid var(--gold);
    animation: btnPulse 2.2s ease-out infinite;
  }

  /* ---------- FOOTER ---------- */
  footer{
    background: var(--navy-deep);
    color: rgba(255,255,255,0.55);
    padding: 48px 0 34px;
    text-align:center;
  }
  footer .foot-logo{
    height: 34px; width:auto;
    margin: 0 auto 16px;
    opacity: 0.9;
  }
  footer .foot-tag{
    font-family:'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  footer .foot-meta{
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }