/* pages.css — multi-page additions (loaded after style.css) */
html:not(.js) .reveal{opacity:1;transform:none}
a.project-card{display:block}
.mobile-menu{height:100vh;height:100dvh}
.mobile-nav-link.active,.nav-link.active{color:var(--color-saffron)}
.nav-links{gap:1.8rem}
img{height:auto}
.hero-media img,.project-card-media img,.spotlight-media img,.modal-hero img{height:100%}

/* Hero slider */
.hero{min-height:100vh;min-height:100svh}
.slide{position:absolute;inset:0;display:flex;align-items:center;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility .9s}
.slide.active{opacity:1;visibility:visible}
.slide .hero-content{position:relative;z-index:2}
.hero-arrow{position:absolute;top:50%;z-index:3;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.35);color:#fff;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);transition:background .2s}
.hero-arrow:hover{background:rgba(255,255,255,.15)}
.hero-arrow i{width:20px;height:20px}
.hero-arrow.prev{left:1.4rem}.hero-arrow.next{right:1.4rem}
.hero-dots{position:absolute;bottom:2rem;right:2rem;z-index:3;display:flex;gap:.55rem}
.hero-dots button{width:34px;height:3px;background:rgba(255,255,255,.3);transition:background .3s}
.hero-dots button.active{background:var(--color-saffron)}

/* Inner page banner */
.page-hero{position:relative;background:#201d2c;color:#fff;padding:10rem 0 4.2rem;overflow:hidden}
.page-hero .hero-media img{opacity:.28}
.page-hero .container{position:relative;z-index:2}
.page-hero h1{font-family:var(--font-display);font-weight:500;font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.1;margin-top:.4rem}
.page-hero h1 em{font-style:italic;font-weight:400;color:var(--color-saffron)}
.page-hero p.lead{color:rgba(255,255,255,.7);max-width:620px;margin-top:1rem}
.page-hero .section-eyebrow{color:var(--color-saffron)}
.crumbs{font-size:.78rem;color:rgba(255,255,255,.55);margin-bottom:1.2rem}
.crumbs a:hover{color:var(--color-saffron)}
.crumbs span{margin:0 .45rem}
.ph-meta{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;margin-top:1.3rem;color:rgba(255,255,255,.8);font-weight:600;font-size:.9rem}
.section{padding:5.5rem 0}
.section.alt{background:var(--color-stone-deep)}
.section .section-header{margin-bottom:2.8rem}

/* Split blocks */
.split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.split-media{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-soft);aspect-ratio:4/5}
.split-media img{width:100%;height:100%;object-fit:cover}
.split p{color:var(--color-ink-soft);margin-top:1.1rem}
.split .btn{margin-top:1.8rem}
.btn-dark.on-light{color:var(--color-ink)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem}
.center{text-align:center}.mt-2{margin-top:2.4rem}

/* Table */
.table-wrap{overflow-x:auto;border-radius:var(--radius-md);box-shadow:var(--shadow-card);background:#fff}
table.data{width:100%;border-collapse:collapse;font-size:.9rem;min-width:620px}
table.data th,table.data td{padding:.9rem 1.1rem;text-align:left;border-bottom:1px solid var(--color-border)}
table.data th{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--color-muted);background:var(--color-stone)}
table.data a{color:var(--color-maroon);font-weight:700}

/* Filters */
.filters{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-bottom:2.4rem}
.chip{padding:.55rem 1.1rem;border:1px solid var(--color-border);border-radius:30px;font-size:.82rem;font-weight:700;background:#fff;color:var(--color-ink-soft);transition:all .2s}
.chip:hover{border-color:var(--color-saffron)}
.chip.active{background:var(--color-ink);color:#fff;border-color:var(--color-ink)}
.is-hidden{display:none!important}
.empty-note{text-align:center;color:var(--color-muted);padding:2rem 0}

/* Timeline */
.timeline{position:relative;max-width:980px;margin:0 auto;padding:0 2rem}
.timeline::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--color-gold);opacity:.5}
.tl-item{position:relative;width:50%;padding:0 3rem 3rem 0}
.tl-item:nth-child(even){margin-left:50%;padding:0 0 3rem 3rem}
.tl-item::after{content:"";position:absolute;top:.5rem;right:-7px;width:13px;height:13px;background:var(--color-saffron);transform:rotate(45deg)}
.tl-item:nth-child(even)::after{right:auto;left:-6px}
.tl-year{font-family:var(--font-display);font-size:2rem;color:var(--color-maroon);font-weight:600;line-height:1}
.tl-card{background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-card);overflow:hidden;margin-top:.8rem;text-align:left}
.tl-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.tl-body{padding:1.1rem 1.3rem 1.3rem}
.tl-body h3{font-family:var(--font-display);font-size:1.2rem}
.tl-body p{font-size:.88rem;color:var(--color-ink-soft);margin-top:.4rem}
.tl-body .project-card-link{margin-top:.8rem}
.timeline.compact .tl-card img{display:none}

/* Gallery page */
.gallery-item{display:block}
.gallery-caption{opacity:1;font-size:.76rem}
@media(hover:hover){.gallery-caption{opacity:0}.gallery-item:hover .gallery-caption{opacity:1}}

/* Lightbox */
.lb{position:fixed;inset:0;z-index:900;background:rgba(14,12,20,.94);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.lb.open{opacity:1;visibility:visible}
.lb img{max-width:92vw;max-height:80vh;width:auto;height:auto;object-fit:contain;border-radius:4px}
.lb-cap{position:absolute;bottom:1.4rem;left:0;right:0;text-align:center;color:#fff;font-size:.88rem;padding:0 1rem}
.lb button{position:absolute;color:#fff;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center}
.lb button:hover{background:rgba(255,255,255,.22)}
.lb button i{width:22px;height:22px}
.lb-x{top:1rem;right:1rem}.lb-p{left:1rem;top:50%;transform:translateY(-50%)}.lb-n{right:1rem;top:50%;transform:translateY(-50%)}

/* Project detail */
.detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:3rem;align-items:start}
.detail h2{font-family:var(--font-display);font-size:1.5rem;font-weight:600;margin:2.4rem 0 1rem}
.detail h2:first-child{margin-top:0}
.detail .lead-p{color:var(--color-ink-soft);font-size:1.02rem}
.d-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.8rem}
.d-gallery a{display:block;border-radius:var(--radius-md);overflow:hidden;aspect-ratio:4/3}
.d-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.d-gallery a:hover img{transform:scale(1.05)}
.aside-card{position:sticky;top:6rem;background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:1.6rem}
.aside-card h3{font-family:var(--font-display);font-size:1.15rem;margin-bottom:1rem}
.aside-row{display:flex;gap:.6rem;font-size:.9rem;color:var(--color-ink-soft);margin-bottom:.85rem;word-break:break-word}
.aside-row i{width:16px;height:16px;flex-shrink:0;margin-top:3px;color:var(--color-maroon)}
.aside-row a{font-weight:700;color:var(--color-ink)}
.aside-card .btn{margin-top:.6rem}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.pn a{display:block;background:#fff;border-radius:var(--radius-md);padding:1.1rem 1.3rem;box-shadow:var(--shadow-card)}
.pn a:last-child{text-align:right}
.pn small{display:block;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--color-muted)}
.pn strong{font-family:var(--font-display);font-size:1.1rem}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}
.card{background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:1.7rem}
.card h3{font-family:var(--font-display);font-size:1.2rem;margin-bottom:.9rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{margin-bottom:1rem}
.field label{display:block;font-size:.78rem;font-weight:700;margin-bottom:.35rem;color:var(--color-ink-soft)}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:.95rem;padding:.8rem .9rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-stone);color:var(--color-ink)}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--color-saffron);border-color:transparent}
.form-note{font-size:.76rem;color:var(--color-muted);margin-top:.8rem}
.map-box{height:340px;border-radius:var(--radius-md);overflow:hidden;margin-top:1.4rem}
.map-box iframe{width:100%;height:100%;border:0}
.cta-band{background:var(--color-maroon);color:#fff;padding:3.6rem 0;text-align:center}
.cta-band h2{font-family:var(--font-display);font-weight:500;font-size:clamp(1.6rem,3vw,2.3rem)}
.cta-band p{opacity:.85;margin:.7rem auto 1.6rem;max-width:560px}
.cta-band .btn{background:#fff;color:var(--color-maroon)}
.cta-band .btn:hover{background:var(--color-stone)}

/* Responsive */
@media(max-width:1080px){.grid-4{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr}.aside-card{position:static}}
@media(max-width:860px){
  .split,.contact-grid{grid-template-columns:1fr;gap:2.2rem}
  .split-media{aspect-ratio:16/11}
  .grid-3{grid-template-columns:1fr 1fr}
  .section{padding:4rem 0}
  .page-hero{padding:8rem 0 3rem}
  .timeline::before{left:1.6rem}
  .tl-item,.tl-item:nth-child(even){width:100%;margin-left:0;padding:0 0 2.2rem 3.4rem}
  .tl-item::after,.tl-item:nth-child(even)::after{left:1.6rem;right:auto;margin-left:-6px}
  .timeline{padding:0 1.2rem}
  .hero-arrow{display:none}
  .hero-dots{left:50%;right:auto;transform:translateX(-50%);bottom:5.2rem}
  .spec-grid,.modal-amenities{grid-template-columns:1fr}
}
@media(max-width:560px){
  .container{padding:0 1.2rem}
  .grid-3,.grid-4,.form-row,.pn{grid-template-columns:1fr}
  .pn a:last-child{text-align:left}
  .whyus-grid{grid-template-columns:1fr}
  .stat-label{font-size:.74rem}
  .hero-title{font-size:2.3rem}
  .hero-scroll-indicator{display:none}
  .hero-dots{bottom:2rem}
  .d-gallery{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .lb-p{left:.4rem}.lb-n{right:.4rem}
  .projects-grid{grid-template-columns:1fr 1fr}
  .project-card-body{padding:1rem}
  .project-card-body h3{font-size:1.02rem}
  .project-card-loc{display:none}
}
@media(max-width:380px){.projects-grid{grid-template-columns:1fr}}

/* Mobile menu: keep the hamburger/close icon above the open panel */
.hamburger{position:relative;z-index:700;padding:10px 0;width:30px}
.hamburger.active span{background:#fff!important}
.mobile-nav-link{display:block;padding:.2rem 0}
.mobile-menu{overflow-y:auto}

/* Memories */
.memory-card{background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-card);overflow:hidden;display:flex;flex-direction:column}
.memory-img{position:relative;display:block;aspect-ratio:4/5;overflow:hidden}
.memory-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.memory-img:hover img{transform:scale(1.05)}
.memory-body{padding:1.3rem 1.4rem 1.5rem}
.memory-body h3{font-family:var(--font-display);font-size:1.25rem}
.memory-body p{font-size:.9rem;color:var(--color-ink-soft);margin:.5rem 0 .9rem}
