@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Nav Bar*/

#navbar .container {
    min-height: 72px;
}

#navbar a {
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    #navbar .lg\:flex {
        display: none !important;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 21, 0.98);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.mobile-menu-close {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;

    padding: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;

    text-shadow: 0 0 6px rgba(255,255,255,0.15);

    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
    transform: scale(1.15);
    color: #c5a059;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
}

.mobile-menu-content a {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.3s ease;
}

.mobile-menu-content a:hover {
    color: #c5a059;
}

.mobile-menu-content button {
    margin-top: 3rem;
    align-self: flex-start;
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: rgba(255, 255, 255, 0.95);
    background: transparent;

    font-size: 0.7rem;
    letter-spacing: 0.32em;
    font-weight: 600;
    text-transform: uppercase;

    box-shadow: inset 0 0 0 0 rgba(197,160,89,0.3);

    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-content button:hover,
.mobile-menu-content button:active {
    background: #c5a059;
    border-color: #c5a059;
    color: #0f1115;

    box-shadow: inset 0 0 0 100px rgba(197,160,89,0.15);
}

.mobile-menu-content a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #c5a059;
    margin-top: 0.75rem;
    transition: width 0.4s ease;
}

.mobile-menu-content a:hover::after {
    width: 3rem;
}

@media (max-width: 768px) {
    .mobile-menu-content a {
        text-shadow: 0 0 1px rgba(255,255,255,0.15);
    }
}

/*line effect*/
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c5a059;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: #c5a059;
}

/*inquire fill effect*/
.nav-inquire {
    position: relative;
    overflow: hidden;
    transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.nav-inquire::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #c5a059;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.nav-inquire span,
.nav-inquire {
    position: relative;
    z-index: 1;
}

.nav-inquire:hover {
    color: #0f1115;
    border-color: #c5a059;
}

.nav-inquire:hover::before {
    transform: scaleX(1);
}

/*end of nav bar*/

.maroon-gradient {
    background:
        radial-gradient(
            circle at 25% 25%,
            rgba(255, 255, 255, 0.04),
            transparent 45%
        ),
        radial-gradient(
            circle at 75% 70%,
            rgba(0, 0, 0, 0.35),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #5a100f 0%,
            #671311 40%,
            #3e0c0b 100%
        );
}

.blue-gradient {
  background:
    radial-gradient(900px 600px at 18% 10%, rgba(216,199,160,.18), transparent 60%),
    radial-gradient(900px 700px at 80% 20%, rgba(99,125,255,.12), transparent 55%),
    radial-gradient(1000px 900px at 40% 120%, rgba(86,255,207,.08), transparent 60%),
    linear-gradient(180deg, #07090d, #0b1020);
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

body {
    background-color: #ffffff;
    color: #1a1d23;
    scroll-behavior: smooth;
}

.hero-overlay {
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.3)
    );
}

.team-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
}

.team-container:hover .team-card {
    flex: 0.8;
    opacity: 0.7;
}

.team-container .team-card:hover {
    flex: 1.5;
    opacity: 1;
}

.team-card video {
    transition: transform 0.8s ease;
}

/* Fix video head cropping on stacked (mobile) cards only */
@media (max-width: 1024px) {
  .team-card video {
    object-position: center 40%;
  }
}

.details-panel {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.6s ease,
        opacity 0.6s ease;
    opacity: 0;
}

.team-card:hover .details-panel {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

.mute-btn {
    transition: all 0.3s ease;
}

/* Mobile mute btn toggle */
@media (hover: none) and (pointer: coarse) {

  .mute-btn {
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  .mute-btn:focus,
  .mute-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  .mute-btn.bg-accent {
    background-color: var(--accent, #c7a46a) !important;
    border-color: var(--accent, #c7a46a) !important;
  }

  .mute-btn.bg-black\/40 {
    background-color: rgba(0,0,0,0.4) !important;
  }
}


/*Intro section*/
.quote-section {
padding: 8rem 0;               
color: #ffffff;
background:
    radial-gradient(
        circle at 25% 25%,
        rgba(255, 255, 255, 0.04),
        transparent 45%
    ),
    radial-gradient(
        circle at 75% 70%,
        rgba(0, 0, 0, 0.35),
        transparent 55%
    ),
    linear-gradient(
        180deg,
        #5a100f 0%,
        #671311 40%,
        #3e0c0b 100%
    );
}

.quote-container {
max-width: 64rem;              
margin: 0 auto;
padding: 0 1.5rem;            
text-align: center;
}

.quote-logo {
  height: 4rem;
  margin: 0 auto 2.5rem;
  opacity: 0.6;
  display: block;

  transition:
    transform 0.6s cubic-bezier(.2,.85,.2,1),
    opacity 0.6s cubic-bezier(.2,.85,.2,1),
    filter 0.6s cubic-bezier(.2,.85,.2,1);
}

.quote-logo:hover {
  transform: scale(1.06);
  opacity: 0.85;
  filter:
    drop-shadow(0 0 12px rgba(216, 199, 160, 0.35))
    drop-shadow(0 0 28px rgba(216, 199, 160, 0.18));
}


.quote-text {
font-family: 'Playfair Display', serif;
font-size: 1.875rem;
line-height: 1.25;
font-style: italic;
margin-bottom: 2.5rem;
color: #ffffff;
}


/* md:text-5xl */
@media (min-width: 768px) {
.quote-text {
    font-size: 3rem;
}
}

.quote-divider {
width: 6rem;                   
height: 1px;
background-color: #c5a059;
margin: 0 auto;
}



/* ===============================
    GALLERY & LIGHTBOX
   =============================== */

.gallery-scope{
  --bg0:#07090d;
  --bg1:#0b1020;
  --card:rgba(255,255,255,.055);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.16);
  --text:rgba(255,255,255,.90);
  --muted:rgba(255,255,255,.62);
  --muted2:rgba(255,255,255,.42);
  --gold:#d8c7a0;
  --gold2:#f0e1b9;
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --shadow2: 0 16px 40px rgba(0,0,0,.45);
  --radius: 20px;
  --radius2: 26px;
  --ease: cubic-bezier(.2,.85,.2,1);
  --ease2: cubic-bezier(.16,1,.3,1);
}

.gallery-scope *,
.gallery-scope *::before,
.gallery-scope *::after {
  box-sizing: border-box;
}

.gallery-scope{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 18% 10%, rgba(216,199,160,.18), transparent 60%),
    radial-gradient(900px 700px at 80% 20%, rgba(99,125,255,.12), transparent 55%),
    radial-gradient(1000px 900px at 40% 120%, rgba(86,255,207,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  overflow-x:hidden;
}

.gallery-scope .noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.08;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  animation: noiseShift 1.6s steps(2,end) infinite;
}
@keyframes noiseShift{0%{transform:translate3d(0,0,0)}25%{transform:translate3d(-2%,1%,0)}50%{transform:translate3d(1%,-2%,0)}75%{transform:translate3d(2%,2%,0)}100%{transform:translate3d(0,0,0)}}

.gallery-scope .page{
  padding: clamp(12px, 2vw, 24px);
  max-width: 1400px;
  margin:0 auto;
}

.gallery-scope .gallery{margin-top: 0;}

.gallery-scope .grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  padding-top: 0;
}

.gallery-scope .tile{
  position:relative;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateZ(0);
  isolation:isolate;
  cursor:pointer;
  outline:none;
  min-height: 140px;
  grid-column: span 3;
  transition:
    transform .55s var(--ease2),
    box-shadow .55s var(--ease2),
    border-color .55s var(--ease2),
    filter .55s var(--ease2);
}

.gallery-scope .tile img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.04);
  transition: transform .75s var(--ease2), filter .75s var(--ease2);
}

.gallery-scope .tileOverlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(400px 200px at var(--mx, 50%) var(--my, 50%), rgba(240,225,185,0.12), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.5));
  opacity: 0.8;
  transition: opacity .55s var(--ease2);
}

.gallery-scope .tileMeta{
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .4s var(--ease2), opacity .4s var(--ease2);
}

.gallery-scope .tileTitle{
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.gallery-scope .tileSub{
  color: rgba(255,255,255,0.6);
  font-size: 11px;
}

.gallery-scope .tile::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(240,225,185,0.15), transparent);
  opacity: 0;
  transition: opacity .55s var(--ease2);
}

.gallery-scope .tile:hover,.gallery-scope .tile:focus-visible{
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(240,225,185,0.18);
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}
.gallery-scope .tile:hover img,.gallery-scope .tile:focus-visible img{transform: scale(1.06)}
.gallery-scope .tile:hover .tileMeta,.gallery-scope .tile:focus-visible .tileMeta{transform: translateY(0px); opacity: 1}
.gallery-scope .tile:hover::before,.gallery-scope .tile:focus-visible::before{opacity: 1}

.gallery-scope .grid:has(.tile:hover) .tile:not(:hover){filter: saturate(0.9) brightness(0.85); transform: scale(0.995)}

/* Compact layout rhythm (17 tiles) */
.gallery-scope .tile:nth-child(1){grid-column: span 6; min-height: 220px}
.gallery-scope .tile:nth-child(2){grid-column: span 3; min-height: 220px}
.gallery-scope .tile:nth-child(3){grid-column: span 3; min-height: 220px}
.gallery-scope .tile:nth-child(4){grid-column: span 3}
.gallery-scope .tile:nth-child(5){grid-column: span 3}
.gallery-scope .tile:nth-child(6){grid-column: span 3}
.gallery-scope .tile:nth-child(7){grid-column: span 3}
.gallery-scope .tile:nth-child(8){grid-column: span 2}
.gallery-scope .tile:nth-child(9){grid-column: span 2}
.gallery-scope .tile:nth-child(10){grid-column: span 4; min-height: 180px}
.gallery-scope .tile:nth-child(11){grid-column: span 2}
.gallery-scope .tile:nth-child(12){grid-column: span 2}
.gallery-scope .tile:nth-child(13){grid-column: span 3}
.gallery-scope .tile:nth-child(14){grid-column: span 3}
.gallery-scope .tile:nth-child(15){grid-column: span 3}
.gallery-scope .tile:nth-child(16){grid-column: span 3}
.gallery-scope .tile:nth-child(17){grid-column: span 12; min-height: 160px}

@media (max-width: 980px){
  .tile{grid-column: span 6}
  .tile:nth-child(1),.tile:nth-child(17){grid-column: span 12}
  .tile:nth-child(8),.tile:nth-child(9),.tile:nth-child(10),.tile:nth-child(11){grid-column: span 6}
}
@media (max-width: 560px){
  .page{padding: 8px}
  .grid{grid-template-columns: repeat(6, 1fr); gap: 6px}
  .tile{grid-column: span 6; min-height: 160px}
}


/* Lightbox */
.gallery-scope .lightbox{
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  padding: 18px;
  opacity:0;
  pointer-events:none;
  transition: opacity .35s var(--ease2);
  z-index: 50;
}
.gallery-scope .lightbox.isOpen{opacity:1; pointer-events:auto}

.gallery-scope .lightboxBackdrop{
  position:absolute;
  inset:0;
  background: radial-gradient(900px 600px at 30% 20%, rgba(216,199,160,.16), rgba(0,0,0,.62)), rgba(0,0,0,.55);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity .35s var(--ease2);
}
.gallery-scope .lightbox.isOpen .lightboxBackdrop{opacity:1}

.gallery-scope .lightboxPanel{
  position:relative;
  width: min(980px, 94vw);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateY(10px) scale(.98);
  transition: transform .45s var(--ease2);
}
.gallery-scope .lightbox.isOpen .lightboxPanel{transform: translateY(0px) scale(1)}

.gallery-scope .iconBtn{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.9);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:2;
  transition: transform .25s var(--ease2), background .25s var(--ease2), border-color .25s var(--ease2);
}
.gallery-scope .iconBtn:hover{transform: scale(1.04); border-color: rgba(240,225,185,.35)}
.gallery-scope .iconBtn:active{transform: scale(.98)}
.gallery-scope .iconBtn:focus-visible{outline:none; box-shadow: 0 0 0 4px rgba(216,199,160,.18)}

.gallery-scope .lightboxStage{
  position:relative;
  height: min(62vh, 560px);
  background: rgba(0,0,0,.2);
  overflow:hidden;
}

.gallery-scope .lightboxStage img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  transition: transform .8s var(--ease2);
  will-change: transform;
}

.gallery-scope .lbGradient{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at var(--mx, 50%) var(--my, 40%), rgba(240,225,185,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72));
  pointer-events:none;
}

.gallery-scope .lbMeta{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
}

.gallery-scope .lbTitle{
  font-family: "Playfair Display", "Libre Baskerville", ui-serif, Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.gallery-scope .lbSub{color: rgba(255,255,255,.72); font-size: 13px}

.gallery-scope .lbControls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 14px 14px 16px;
}

.gallery-scope .lbCount{color: rgba(255,255,255,.70); font-size: 13px; letter-spacing: .04em}

/* Focus ring */
.gallery-scope .tile:focus-visible{box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 4px rgba(216,199,160,.18)}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .gallery-scope .noise{animation:none}
  .gallery-scope .tile,.gallery-scope .tile img,.gallery-scope .tileOverlay,.gallery-scope .tileMeta,.gallery-scope .btn,.gallery-scope .lightbox,.gallery-scope .lightboxBackdrop,.gallery-scope .lightboxPanel,.gallery-scope .iconBtn,.gallery-scope .lightboxStage img{transition:none !important}
}

/*  lightbox centering (narrow mobile devices) */
@media (max-width: 480px) {

  .gallery-scope .lightboxPanel {
    left: 49% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }

}


/*footer related*/
.copy-link {
    position: relative;
    cursor: pointer;
}

.copy-link::after {
    content: attr(data-hover);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: #c5a059;
}

