:root{
    --cream: #FFFAF3;
    --cream-deep: #FFF1DE;
    --ink: #2B2420;
    --ink-soft: #5C5248;
    --orange: #F2731D;
    --orange-deep: #D85E10;
    --sky: #6FB7E0;
    --sky-pale: #DFF0FA;
    --navy: #1F3B4D;
    --gold: #F4A93E;
    --line: rgba(43,36,32,0.10);

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body:    'Jost', 'Helvetica Neue', sans-serif;
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:var(--font-body);
    -webkit-font-smoothing:antialiased;
  }
  img,svg{ display:block; max-width:100%; }
  a{ color:inherit; text-decoration:none; }
  button{ font-family:inherit; }

  /* ============ HERO ============ */
  .hero{
    position:relative;
    width:100%;
    min-height:60vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    isolation:isolate;
    font-family:var(--font-body);
  }
 
  /* ---- background: swap the url() below for your own photo ---- */
  .hero-bg{
    position:absolute;
    inset:0;
    z-index:-2;
    /* background:
      radial-gradient(120% 90% at 50% 100%, rgba(242,115,29,0.18), transparent 60%),
      linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 55%, #0e1b23 100%); */
    background-image:
      /* radial-gradient(120% 90% at 50% 100%, rgba(242,115,29,0.18), transparent 60%),
      linear-gradient(155deg, rgba(31,59,77,0.25), rgba(14,27,35,0.6)), */
      url('../images/Chopta-Resort-Himalayan-View.jpg');           /* <-- put your dining-table photo here */
    background-size:cover;
    background-position:center;
    animation:kenburns 18s ease-in-out infinite alternate;
  }
 
  /* darkening pass so centered text stays legible over any photo */
  .hero-veil{
    position:absolute;
    inset:0;
    z-index:-1;
    background:
      linear-gradient(90deg, rgba(35, 29, 14, 0.75) 0%, rgba(35, 29, 14, 0.32) 22%, rgba(35, 27, 14, 0.32) 78%, rgba(35, 22, 14, 0.75) 100%),
      linear-gradient(180deg, rgba(35, 30, 14, 0.55) 0%, rgba(149, 98, 48, 0.45) 35%, rgba(35, 26, 14, 0.12) 60%, rgba(35, 27, 14, 0.7) 100%);
  }
 
  /* faint grain so the warm gradient doesn't look flat/AI-smooth */
  .hero-grain{
    position:absolute; inset:0; z-index:-1; opacity:.05; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
 
  .hero-content{
    position:relative;
    text-align:center;
    max-width:720px;
    padding:96px 24px 84px;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
 
  .hero-eyebrow{
    font-size:12px;
    letter-spacing:0.32em;
    text-transform:uppercase;
    color:var(--gold);
    font-weight:500;
    opacity:0;
    animation:riseIn .8s ease-out .15s forwards;
  }
 
  .hero-eyebrow::before,
  .hero-eyebrow::after{
    content:'';
    display:inline-block;
    width:22px;
    height:1px;
    background:var(--orange);
    vertical-align:middle;
    margin:0 10px 3px;
  }
 
  .hero-title{
    font-family:var(--font-display);
    font-weight:600;
    font-size:clamp(2.4rem, 6vw, 4.4rem);
    line-height:1.05;
    color:var(--cream);
    margin-top:18px;
    letter-spacing:-0.01em;
    text-shadow:0 8px 30px rgba(0,0,0,0.45);
    opacity:0;
    animation:riseIn .9s ease-out .3s forwards;
  }
 
  .hero-title em{
    font-style:italic;
    font-weight:500;
    color:var(--gold);
  }
 
  /* ---- signature: a quiet ridgeline, with one small window-light ---- */
  .hero-ridge{
    width:220px;
    height:34px;
    margin-top:26px;
    opacity:0;
    animation:riseIn .9s ease-out .5s forwards;
  }
 
  .hero-ridge path{
    fill:none;
    stroke:var(--orange);
    stroke-width:1.4;
    opacity:0.75;
  }
 
  .hero-ridge circle{
    fill:var(--gold);
    filter:drop-shadow(0 0 4px var(--gold));
    animation:flicker 3.6s ease-in-out infinite;
  }
 
  .hero-breadcrumb{
    margin-top:22px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    letter-spacing:0.04em;
    color:var(--muted);
    opacity:0;
    animation:riseIn .9s ease-out .65s forwards;
  }
 
  .hero-breadcrumb a{
    color:var(--gold);
    text-decoration:none;
    transition:color .2s ease, opacity .2s ease;
  }
  .hero-breadcrumb a:hover{ color:var(--cream); }
  .hero-breadcrumb a:focus-visible{ outline:1px solid var(--gold); outline-offset:3px; border-radius:2px; }
 
  .hero-breadcrumb .sep{ color:var(--orange); opacity:0.6; font-size:11px; }
  .hero-breadcrumb .current{ color:var(--cream); }
 
  @keyframes riseIn{
    from{ opacity:0; transform:translateY(14px); }
    to{ opacity:1; transform:translateY(0); }
  }
 
  @keyframes kenburns{
    from{ transform:scale(1); }
    to{ transform:scale(1.08); }
  }
 
  @keyframes flicker{
    0%, 100%{ opacity:1; }
    45%{ opacity:0.55; }
    55%{ opacity:0.9; }
  }
 
  @media (prefers-reduced-motion: reduce){
    .hero-bg{ animation:none; }
    .hero-eyebrow, .hero-title, .hero-ridge, .hero-breadcrumb{ animation:none; opacity:1; }
    .hero-ridge circle{ animation:none; }
  }
 
  @media (max-width:640px){
    .hero{ min-height:52vh; }
    .hero-content{ padding:72px 20px 56px; }
    .hero-eyebrow::before, .hero-eyebrow::after{ width:14px; margin:0 6px 3px; }
  }
  /* ============ GALLERY INTRO ============ */
  .gallery-main{
    padding:min(8vw,90px) 24px min(9vw,100px);
    max-width:1280px;
    margin:0 auto;
  }
  .gallery-intro{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin-bottom:44px;
  }
  .section-label{
    display:inline-block;
    font-size:12.5px;
    font-weight:500;
    letter-spacing:.22em;
    color:var(--orange-deep);
    margin-bottom:14px;
  }
  .section-heading{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(1.8rem, 3vw, 2.4rem);
    line-height:1.15;
    color:var(--ink);
    margin:0;
    max-width:22ch;
  }
  .section-heading em{ font-style:italic; color:var(--orange-deep); }
  .gallery-count{
    font-size:13.5px;
    color:var(--ink-soft);
    white-space:nowrap;
  }
  .gallery-count strong{ color:var(--ink); font-weight:600; }

  /* --- Filter chips --- */
  .filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:38px;
  }
  .filter-chip{
    border:1px solid var(--line);
    background:var(--cream-deep);
    color:var(--ink-soft);
    font-size:13.5px;
    font-weight:500;
    letter-spacing:.02em;
    padding:9px 18px;
    border-radius:999px;
    cursor:pointer;
    transition:background .2s ease, color .2s ease, border-color .2s ease;
  }
  .filter-chip:hover{ border-color:var(--orange); color:var(--orange-deep); }
  .filter-chip.is-active{
    background:var(--orange);
    border-color:var(--orange);
    color:var(--cream);
  }

  /* --- Masonry grid --- */
  .masonry{
    column-count:1;
    column-gap:18px;
  }
  @media (min-width:640px){ .masonry{ column-count:2; } }
  @media (min-width:980px){ .masonry{ column-count:3; } }

  .g-item{
    break-inside:avoid;
    margin-bottom:18px;
    position:relative;
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    opacity:0;
    transform:translateY(14px);
    transition:opacity .6s ease, transform .6s ease;
  }
  .g-item.is-visible{ opacity:1; transform:translateY(0); }
  .g-item.is-hidden{ display:none; }

  .g-frame{
    position:relative;
    width:100%;
    display:flex;
    align-items:flex-end;
    color:var(--cream);
    background:
      linear-gradient(200deg, rgba(0,0,0,.05), rgba(0,0,0,.45)),
      var(--tint, linear-gradient(150deg,#2c4859,#1f3b4d));
  }
  /* Swap each .g-frame background with a real photo via inline style
     background-image:url('images/xyz.jpg') on the element, or edit here. */
  .g-frame::before{
    content:"";
    position:absolute; inset:0;
    background-image:repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 1px, transparent 1px 60px);
  }
  .g-frame .cam{
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%);
    opacity:.35;
  }
  .g-caption{
    position:relative;
    z-index:2;
    width:100%;
    padding:16px 18px;
    background:linear-gradient(0deg, rgba(15,26,34,.78), transparent);
  }
  .g-caption .g-cat{
    font-size:10.5px;
    font-weight:600;
    letter-spacing:.14em;
    color:var(--gold);
    text-transform:uppercase;
    margin:0 0 4px;
  }
  .g-caption .g-title{
    font-family:var(--font-display);
    font-size:1.05rem;
    font-weight:500;
    margin:0;
  }
  .g-item::after{
    content:"";
    position:absolute; inset:0;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    pointer-events:none;
  }
  .g-expand{
    position:absolute; top:14px; right:14px; z-index:2;
    width:32px; height:32px;
    border-radius:50%;
    background:rgba(43,36,32,.35);
    backdrop-filter:blur(2px);
    display:flex; align-items:center; justify-content:center;
    opacity:0;
    transform:scale(.85);
    transition:opacity .25s ease, transform .25s ease, background .25s ease;
  }
  .g-item:hover .g-expand{ opacity:1; transform:scale(1); }
  .g-item:hover .g-expand{ background:var(--orange); }
  .g-item:hover .g-frame{ }

  /* varied heights for masonry rhythm */
  .h-sm .g-frame{ height:220px; }
  .h-md .g-frame{ height:300px; }
  .h-lg .g-frame{ height:390px; }

  /* ============ LIGHTBOX ============ */
  .lightbox{
    position:fixed; inset:0; z-index:100;
    background:rgba(15,20,24,.92);
    display:flex; align-items:center; justify-content:center;
    opacity:0; visibility:hidden;
    transition:opacity .3s ease;
    padding:15px 24px 24px 24px;
  }
  .lightbox.is-open{ opacity:1; visibility:visible; }
  .lb-stage{
    position:relative;
    width:min(920px, 92vw);
    max-height:86vh;
  }
  .lb-frame{
    position:relative;
    width:100%;
    aspect-ratio:16/10;
    border-radius:14px;
    overflow:hidden;
    display:flex; align-items:flex-end;
    color:var(--cream);
    background:linear-gradient(200deg, rgba(0,0,0,.05), rgba(0,0,0,.45)), var(--tint, linear-gradient(150deg,#2c4859,#1f3b4d));
    box-shadow:0 40px 90px -30px rgba(0,0,0,.6);
  }
  .lb-caption{ position:relative; z-index:2; padding:22px 26px; background:linear-gradient(0deg, rgba(15,26,34,.8), transparent); }
  .lb-caption .g-cat{ font-size:11px; font-weight:600; letter-spacing:.16em; color:var(--gold); text-transform:uppercase; margin:0 0 6px; }
  .lb-caption .g-title{ font-family:var(--font-display); font-size:1.4rem; font-weight:500; margin:0; }
  .lb-index{ margin-top:14px; text-align:center; color:rgba(255,250,243,.6); font-size:13px; letter-spacing:.04em; }

  .lb-close, .lb-prev, .lb-next{
    position:absolute;
    background:rgba(255,250,243,.12);
    border:1px solid rgba(255,250,243,.25);
    color:var(--cream);
    border-radius:50%;
    width:44px; height:44px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    transition:background .2s ease, transform .2s ease;
  }
  .lb-close:hover, .lb-prev:hover, .lb-next:hover{ background:var(--orange); transform:scale(1.05); }
  .lb-close{ top:-56px; right:0; }
  .lb-prev{ top:50%; left:-58px; transform:translateY(-50%); }
  .lb-next{ top:50%; right:-58px; transform:translateY(-50%); }
  @media (max-width:760px){
    .lb-close{ top:-50px; right:0; width:38px; height:38px; }
    .lb-prev{ left:6px; }
    .lb-next{ right:6px; }
  }

  @media (prefers-reduced-motion:reduce){
    *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  }