/* ============================================================
   RESET & CSS VARIABLES
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --surface: #0a0a0f;
  --white: #F3EEE7;
  --gold: #ff9d00;
  --gold2: #ffdc00;
  --muted: rgba(243,238,231,0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
/* NEW ADDED */
  --font-serif: 'Cormorant Garamond', serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'DM Sans', sans-serif;
  --black: #000000;
  --near-black: #050508;
  --white: #ffffff;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --cyan: #06b6d4;
  --pink: #ec4899;
/* Liquid-glass tokens */
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-blur: blur(24px) saturate(1.4);
  --glass-shadow: 0 8px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
}


/* ============================================================
   BASE
============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  background:              var(--black);
  color:                   var(--white);
  font-family:             'Outfit', sans-serif;
  font-weight:             300;
  overflow-x:              hidden;
  -webkit-font-smoothing:  antialiased;
}

/* Film grain overlay */
body::after {
  content:          '';
  position:         fixed;
  inset:            0;
  z-index:          9998;
  pointer-events:   none;
  opacity:          0.028;
  
}


a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
textarea, input, select { font-family: inherit; }
::selection { background: rgba(139,92,246,0.3); }

/*   SCROLL PROGRESS BAR
══════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9100;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #f59e0b 0%, #ec4899 35%, #8b5cf6 65%, #06b6d4 100%);
  transition: transform 0.1s linear;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 24px 0;
  background: transparent;
  transition: padding 0.5s, background 0.5s, border-color 0.5s, box-shadow 0.5s;
  border-bottom: 1px solid transparent;
      
}
#navbar.scrolled {
  padding: 12px 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 40px rgba(0,0,0,0.8);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1px;
  position: relative;
  z-index: 10;
  margin-left: 5px;
}
.logo-img-wrap {
  position: relative;
}
.logo-img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  transition: border-color 0.3s;
  margin-top: -4.5px;
}
.logo:hover .logo-img { border-color: rgba(251,146,60,0.4); }
.logo-text { display: flex; flex-direction: column; line-height: 1;}
.logo-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, #d1d5db 60%, #6b7280 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 300;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.3s;
  border-radius: 9999px;
}
.nav-link:hover { color: #e5e7eb; }
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); }
.nav-btn {
  margin-left: 12px;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  transition: box-shadow 0.3s, opacity 0.3s;
}
.nav-btn:hover { box-shadow: 0 0 20px rgba(255,255,255,0.3); }
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--white);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.mobile-toggle svg { display: block; }

/* ── Mobile menu ────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.mobile-menu a{
    font-weight: 0;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.mobile-menu-logo img {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin-top: 0px;
}
.mobile-menu-logo span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.mobile-nav-link {
  display: block;
  padding: 12px 40px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 0.1rem;
  color: var(--gray-500);
  transition: color 0.3s;
  text-align: center;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--white); }
.mobile-nav-btn {
  margin-top: 32px;
  padding: 12px 32px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.25) !important;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.3s, color 0.3s;
}
.mobile-nav-btn:hover { background: var(--white); color: var(--black); }


/* ================================================
   HERO HEADER
================================================ */
.site-header {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hdr-bg{
  position: absolute; inset: 0;
  background: url('') center/cover no-repeat;
  transform: scale(1);
  animation: bgDrift 22s ease-in-out infinite alternate;
  filter: brightness(0.32) saturate(0.75);
  will-change: transform;
}
@keyframes bgDrift {
  from { transform: scale(1.1) translate(0,0); }
  to   { transform: scale(1.18) translate(-1.5%, 1%); }
}

.hdr-bg img{
  width: 100%; height: 90%;
  object-fit: cover;
  object-position: center;
  will-change:transform;
}

.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.3) 100%);
}

/* Strong bottom fade — no seam between hero and grid */
.hdr-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

/* Top bar */
.hdr-top {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 40px;
  background: ;
  margin-top: 250px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--white);
  opacity: 0;
  animation: fadeDown 0.8s 0.1s var(--ease) forwards;
}
.logo em { color: var(--gold); font-style: italic; }

.hdr-right {
  display: flex; align-items: ; gap: 28px;
  opacity: 0;
  animation: fadeDown 0.8s 0.2s var(--ease) forwards;
  margin-bottom: 50px;
}

.nav-link {
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(243,238,231,0.5);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-link:hover { color: var(--white); }

/* "＋ New Story" glass pill button */
.btn-add {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  
}
.btn-add:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* Hero text block */
.hdr-hero {
  position: relative; z-index: 3;
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 56px;
  margin-bottom: 100px;
}

.hero-eyebrow {
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  opacity: 0; animation: fadeUp 0.9s 0.45s var(--ease) forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.93; letter-spacing: -0.01em;
  max-width: 680px;
  opacity: 0; animation: fadeUp 1s 0.58s var(--ease) forwards;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold); }

.hero-sub {
  margin-top: 22px;
  font-size: 0.93rem; font-weight: 300;
  color: var(--muted); max-width: 400px; line-height: 1.75;
  opacity: 0; animation: fadeUp 1s 0.72s var(--ease) forwards;
}

.hero-scroll-hint {
  position: absolute; right: 40px; bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s 1.3s both;
}
.hero-scroll-hint span {
  font-size: 0.58rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: rgba(243,238,231,0.28); writing-mode: vertical-rl;
}
.scroll-bar {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite 1.5s;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.5; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(0.55); transform-origin: top; }
}


/* ============================================================
   FILTER BAR
============================================================ */
.filter-bar {
  position:         sticky;
  top:              0;
  z-index:          100;
  background:       rgba(0,0,0,0.75);
  backdrop-filter:  blur(28px) saturate(0.6);
  border-bottom:    1px solid rgba(255,255,255,0.04);
}

.filter-inner {
  max-width:       1380px;
  margin:          0 auto;
  padding:         0 40px;
  height:          54px;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.filter-tabs {
  display:     flex;
  gap:         0;
  list-style:  none;
  height:      100%;
}

.ftab {
  position:       relative;
  height:         100%;
  display:        flex;
  align-items:    center;
  padding:        0 20px;
  font-size:      0.66rem;
  font-weight:    400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color:          rgba(243,238,231,0.38);
  cursor:         pointer;
  transition:     color 0.3s;
  user-select:    none;
  white-space:    nowrap;
}

.ftab::after {
  content:          '';
  position:         absolute;
  bottom:           0;
  left:             20px;
  right:            20px;
  height:           1.5px;
  background:       linear-gradient(90deg, var(--gold), var(--gold2));
  transform:        scaleX(0);
  transform-origin: left;
  transition:       transform 0.4s var(--ease);
}

.ftab:hover    { color: rgba(243,238,231,0.7); }
.ftab.on       { color: var(--white); }
.ftab.on::after { transform: scaleX(1); }

.filter-count {
  font-size:      0.66rem;
  letter-spacing: 0.18em;
  color:          rgba(243,238,231,0.28);
  white-space:    nowrap;
}

.filter-count b {
  font-family:  'Playfair Display', serif;
  font-weight:  400;
  font-size:    1rem;
  color:        var(--gold);
  margin-right: 3px;
}


/* ============================================================
   MAIN GRID
============================================================ */
.main {
  max-width: 1380px;
  margin:    0 auto;
  padding:   48px 40px 96px;
}

.grid {
  display:               grid;
  grid-template-columns: repeat(12, 1fr);
  gap:                   18px;
  align-items:           start;
}


/* ============================================================
   CARDS — Liquid Glass
============================================================ */
.card {
  position:         relative;
  border-radius:    20px;
  overflow:         hidden;
  cursor:           pointer;
  background:       var(--glass-bg);
  border:           1px solid var(--glass-border);
  box-shadow:       var(--glass-shadow);
  backdrop-filter:  var(--glass-blur);
  opacity:          0;
  transform:        translateY(36px) scale(0.98);
  transition:
    box-shadow   0.5s var(--ease),
    border-color 0.4s,
    transform    0.5s var(--ease);
}

.card.visible {
  animation: cardReveal 0.75s var(--ease) forwards;
}

@keyframes cardReveal {
  to {
    opacity:   1;
    transform: translateY(0) scale(1);
  }
}

.card:hover {
  box-shadow:   0 0 0 1px rgba(201,169,110,0.4),
                0 24px 64px rgba(0,0,0,0.7),
                0 0 60px rgba(201,169,110,0.07),
                inset 0 1px 0 rgba(255,255,255,0.12);
  border-color: rgba(201,169,110,0.38);
  transform:    translateY(-5px) scale(1.005);
}

/* Photo container */
.card-photo {
  position:      relative;
  overflow:      hidden;
  border-radius: 18px 18px 0 0;
}

.card-photo img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
  filter:     saturate(0.78) brightness(0.7);
  transition: transform 0.85s var(--ease), filter 0.55s;
}

.card:hover .card-photo img {
  transform: scale(1.07);
  filter:    saturate(0.95) brightness(0.85);
}

/* Gradient overlay */
.card-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    160deg,
    rgba(201,169,110,0.04) 0%,
    transparent              35%,
    rgba(0,0,0,0.55)         65%,
    rgba(0,0,0,0.95)         100%
  );
  transition: opacity 0.4s;
}

.card:hover .card-overlay { opacity: 0.82; }

/* Unique colour tint per card position */
.card:nth-child(1) .card-overlay { background: linear-gradient(160deg, rgba(120,80,200,0.12) 0%, transparent 40%, rgba(0,0,0,0.92) 100%); }
.card:nth-child(2) .card-overlay { background: linear-gradient(160deg, rgba(200,80,100,0.1)  0%, transparent 40%, rgba(0,0,0,0.92) 100%); }
.card:nth-child(3) .card-overlay { background: linear-gradient(160deg, rgba(40,160,140,0.1)  0%, transparent 40%, rgba(0,0,0,0.92) 100%); }
.card:nth-child(4) .card-overlay { background: linear-gradient(160deg, rgba(200,140,40,0.1)  0%, transparent 40%, rgba(0,0,0,0.92) 100%); }
.card:nth-child(5) .card-overlay { background: linear-gradient(160deg, rgba(60,100,200,0.12) 0%, transparent 40%, rgba(0,0,0,0.92) 100%); }
.card:nth-child(6) .card-overlay { background: linear-gradient(160deg, rgba(160,40,160,0.1)  0%, transparent 40%, rgba(0,0,0,0.92) 100%); }

/* Gold shimmer sweep on hover */
.card::before {
  content:          '';
  position:         absolute;
  inset:            0;
  z-index:          2;
  background:       linear-gradient(110deg, transparent 30%, rgba(201,169,110,0.07) 50%, transparent 70%);
  transform:        translateX(-100%);
  transition:       transform 0.7s var(--ease);
  pointer-events:   none;
  border-radius:    20px;
}

.card:hover::before { transform: translateX(100%); }

/* Category chip */
.card-chip {
  position:        absolute;
  top:             14px;
  left:            14px;
  z-index:         3;
  font-size:       0.58rem;
  font-weight:     500;
  letter-spacing:  0.32em;
  text-transform:  uppercase;
  color:           var(--white);
  background:      rgba(0,0,0,0.5);
  border:          1px solid rgba(255,255,255,0.15);
  padding:         5px 12px;
  border-radius:   999px;
  backdrop-filter: blur(12px);
  transition:      border-color 0.3s, color 0.3s, background 0.3s;
}

.card:hover .card-chip {
  border-color: rgba(201,169,110,0.5);
  color:        var(--gold);
  background:   rgba(0,0,0,0.6);
}

/* Story index number */
.card-index {
  position:       absolute;
  top:            14px;
  right:          16px;
  z-index:        3;
  font-family:    'Playfair Display', serif;
  font-size:      0.7rem;
  color:          rgba(201,169,110,0.5);
  letter-spacing: 0.08em;
}

/* Text block at bottom of image */
.card-text {
  position: absolute;
  bottom:   0;
  left:     0;
  right:    0;
  padding:  20px 20px 22px;
  z-index:  3;
}

.card-loc {
  display:        flex;
  align-items:    center;
  gap:            8px;
  font-size:      0.6rem;
  font-weight:    400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color:          var(--gold);
  opacity:        0.9;
  margin-bottom:  8px;
}

.card-loc::before {
  content:    '';
  flex-shrink: 0;
  width:      12px;
  height:     1px;
  background: var(--gold);
}

.card-title {
  font-family:  'Playfair Display', serif;
  font-weight:  700;
  line-height:  1.15;
  color:        var(--white);
  transition:   color 0.3s;
}

.card:hover .card-title { color: var(--gold2); }

/* Subtitle — slides up on hover */
.card-sub {
  font-size:    0.78rem;
  font-weight:  300;
  color:        rgba(243,238,231,0.55);
  line-height:  1.58;
  margin-top:   6px;
  overflow:     hidden;
  max-height:   0;
  opacity:      0;
  transition:   max-height 0.48s var(--ease), opacity 0.4s;
}

.card:hover .card-sub {
  max-height: 90px;
  opacity:    1;
}

/* Read more row */
.card-action {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  margin-top:      10px;
  opacity:         0;
  transform:       translateY(8px);
  transition:      opacity 0.38s 0.06s, transform 0.38s 0.06s var(--ease);
}

.card:hover .card-action {
  opacity:   1;
  transform: translateY(0);
}

.card-cta {
  font-size:      0.6rem;
  font-weight:    400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color:          rgba(243,238,231,0.55);
}

.card-arrow {
  width:         30px;
  height:        30px;
  border-radius: 50%;
  border:        1px solid rgba(201,169,110,0.35);
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     13px;
  color:         var(--gold);
  transition:    background 0.3s, transform 0.45s var(--ease), border-color 0.3s;
}

.card:hover .card-arrow {
  background:   var(--gold);
  color:        #000;
  border-color: var(--gold);
  transform:    rotate(45deg);
}

/* Gold bottom accent line */
.card-line {
  position:         absolute;
  bottom:           0;
  left:             0;
  right:            0;
  z-index:          4;
  height:           2px;
  background:       linear-gradient(90deg, transparent, var(--gold), var(--gold2), transparent);
  transform:        scaleX(0);
  transform-origin: left;
  transition:       transform 0.6s var(--ease);
}

.card:hover .card-line { transform: scaleX(1); }


/* ============================================================
   CARD GRID SLOT SIZES (12-column system)
============================================================ */
.card[data-slot="0"] { grid-column: span 8; }
.card[data-slot="0"] .card-photo { height: 540px; }
.card[data-slot="0"] .card-title { font-size: 1.9rem; }

.card[data-slot="1"] { grid-column: span 4; }
.card[data-slot="1"] .card-photo { height: 540px; }
.card[data-slot="1"] .card-title { font-size: 1.15rem; }

.card[data-slot="2"] { grid-column: span 4; }
.card[data-slot="2"] .card-photo { height: 360px; }
.card[data-slot="2"] .card-title { font-size: 1.1rem; }

.card[data-slot="3"] { grid-column: span 4; }
.card[data-slot="3"] .card-photo { height: 360px; }
.card[data-slot="3"] .card-title { font-size: 1.1rem; }

.card[data-slot="4"] { grid-column: span 4; }
.card[data-slot="4"] .card-photo { height: 360px; }
.card[data-slot="4"] .card-title { font-size: 1.1rem; }

.card[data-slot="5"] { grid-column: span 6; }
.card[data-slot="5"] .card-photo { height: 420px; }
.card[data-slot="5"] .card-title { font-size: 1.4rem; }

.card[data-slot="6"] { grid-column: span 6; }
.card[data-slot="6"] .card-photo { height: 420px; }
.card[data-slot="6"] .card-title { font-size: 1.4rem; }

.card[data-slot="7"],
.card[data-slot="8"],
.card[data-slot="9"] { grid-column: span 6; }

.card[data-slot="7"] .card-photo,
.card[data-slot="8"] .card-photo,
.card[data-slot="9"] .card-photo { height: 380px; }

.card[data-slot="7"] .card-title,
.card[data-slot="8"] .card-title,
.card[data-slot="9"] .card-title { font-size: 1.2rem; }


/* ============================================================
   QUOTE DIVIDER
============================================================ */
.quote-section {
  max-width:   1380px;
  margin:      0 auto;
  padding:     0 40px 80px;
  display:     flex;
  align-items: center;
  gap:         36px;
}

.q-line {
  flex:       1;
  height:     1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.22), transparent);
}

.q-text {
  font-family:  'Playfair Display', serif;
  font-style:   italic;
  font-size:    clamp(0.95rem, 1.8vw, 1.25rem);
  color:        rgba(243,238,231,0.28);
  text-align:   center;
  line-height:  1.7;
  max-width:    480px;
  flex-shrink:  0;
}


/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  max-width:       1380px;
  margin:          0 auto;
  padding:         24px 40px;
  border-top:      1px solid rgba(255,255,255,0.04);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.footer-brand {
  font-family:  'Playfair Display', serif;
  font-style:   italic;
  font-size:    0.95rem;
  color:        rgba(243,238,231,0.25);
}

.footer-copy {
  font-size:      0.6rem;
  letter-spacing: 0.25em;
  color:          rgba(243,238,231,0.18);
  text-transform: uppercase;
}


/* ============================================================
   MODAL — Full-screen takeover
============================================================ */
.modal-wrap {
  position:       fixed;
  inset:          0;
  z-index:        1000;
  pointer-events: none;
  visibility:     hidden;
}

.modal-wrap.open {
  pointer-events: all;
  visibility:     visible;
}

/* Dark frosted backdrop */
.modal-bg {
  position:        absolute;
  inset:           0;
  background:      rgba(0,0,0,0.88);
  backdrop-filter: blur(36px) saturate(0.25);
  opacity:         0;
  transition:      opacity 0.45s var(--ease);
}

.modal-wrap.open .modal-bg { opacity: 1; }

/* Two-column panel */
.modal-panel {
  position:              absolute;
  inset:                 0;
  display:               grid;
  grid-template-columns: 1fr 1fr;
  opacity:               0;
  transform:             scale(0.97) translateY(12px);
  transition:            opacity 0.45s 0.08s var(--ease), transform 0.45s 0.08s var(--ease);
}

.modal-wrap.open .modal-panel {
  opacity:   1;
  transform: scale(1) translateY(0);
}

/* Photo side */
.modal-photo {
  position: relative;
  overflow: hidden;
}

.modal-photo img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  filter:     brightness(0.82) saturate(0.82);
  transform:  scale(1.06);
  transition: transform 0.85s var(--ease), opacity 0.3s ease;
}

.modal-wrap.open .modal-photo img { transform: scale(1); }

.modal-photo::after {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(to right, transparent 50%, rgba(0,0,0,0.65) 100%);
}

.modal-photo-info {
  position: absolute;
  bottom:   32px;
  left:     32px;
  z-index:  2;
}

.m-chip {
  display:         inline-block;
  font-size:       0.58rem;
  font-weight:     500;
  letter-spacing:  0.38em;
  text-transform:  uppercase;
  color:           var(--white);
  background:      rgba(0,0,0,0.55);
  border:          1px solid rgba(255,255,255,0.14);
  border-radius:   999px;
  padding:         5px 13px;
  margin-bottom:   10px;
  backdrop-filter: blur(10px);
}

.m-loc {
  font-size:      0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  3px;
}

.m-season {
  font-size:   0.78rem;
  color:       var(--muted);
  font-style:  italic;
}

/* Content/scrollable side */
.modal-content {
  position:                relative;
  height:                  100%;
  overflow-y:              auto;
  overflow-x:              hidden;
  padding:                 72px 60px 16px;
  display:                 flex;
  flex-direction:          column;
  gap:                     22px;
  background:              rgba(4,4,8,0.6);
  backdrop-filter:         blur(20px);
  scrollbar-width:         thin;
  scrollbar-color:         rgba(201,169,110,0.35) transparent;
  -webkit-overflow-scrolling: touch;
}

.modal-content::-webkit-scrollbar       { width: 3px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.35); border-radius: 2px; }

/* Close button */
.modal-close {
  position:        absolute;
  top:             22px;
  right:           24px;
  width:           40px;
  height:          40px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.07);
  border:          1px solid rgba(255,255,255,0.1);
  color:           rgba(243,238,231,0.6);
  font-size:       16px;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  backdrop-filter: blur(12px);
  transition:      background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
  flex-shrink:     0;
  z-index:         5;
}

.modal-close:hover {
  background:   rgba(220,60,60,0.18);
  border-color: rgba(220,60,60,0.45);
  color:        rgba(255,100,100,0.9);
  transform:    rotate(90deg) scale(1.08);
}

/* Staggered content reveals */
.m-eye {
  font-size:      0.6rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-top:     4px;
  opacity:        0;
  transform:      translateY(14px);
  transition:     opacity 0.55s 0.22s var(--ease), transform 0.55s 0.22s var(--ease);
}

.modal-wrap.open .m-eye {
  opacity:   1;
  transform: none;
}

.m-title {
  font-family:    'Playfair Display', serif;
  font-weight:    700;
  font-size:      clamp(1.7rem, 3vw, 2.6rem);
  line-height:    1.1;
  letter-spacing: -0.01em;
  color:          var(--white);
  opacity:        0;
  transform:      translateY(16px);
  transition:     opacity 0.55s 0.32s var(--ease), transform 0.55s 0.32s var(--ease);
}

.modal-wrap.open .m-title {
  opacity:   1;
  transform: none;
}

.m-sub {
  font-family:  'Playfair Display', serif;
  font-style:   italic;
  font-size:    0.95rem;
  color:        var(--muted);
  line-height:  1.6;
  opacity:      0;
  transform:    translateY(12px);
  transition:   opacity 0.55s 0.4s var(--ease), transform 0.55s 0.4s var(--ease);
}

.modal-wrap.open .m-sub {
  opacity:   1;
  transform: none;
}

.m-rule {
  height:     1px;
  width:      0;
  background: linear-gradient(90deg, var(--gold), rgba(201,169,110,0.15), transparent);
  transition: width 0.75s 0.48s var(--ease);
  flex-shrink: 0;
}

.modal-wrap.open .m-rule { width: 100%; }

.m-story {
  font-size:   0.93rem;
  font-weight: 300;
  line-height: 2.05;
  color:       rgba(243,238,231,0.62);
  flex:        1;
}

.m-story p {
  opacity:    0;
  transform:  translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.modal-wrap.open .m-story p:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.54s; }
.modal-wrap.open .m-story p:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.64s; }
.modal-wrap.open .m-story p:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.74s; }
.modal-wrap.open .m-story p:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.84s; }

.m-story p + p { margin-top: 16px; }


/* ============================================================
   MODAL PREV / NEXT NAVIGATION
============================================================ */
.modal-nav {
  position:           sticky;
  bottom:             0;
  display:            flex;
  align-items:        center;
  justify-content:    space-between;
  gap:                12px;
  padding:            16px 24px;
  background:         rgba(0,0,0,0.45);
  backdrop-filter:    blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-top:         1px solid rgba(255,255,255,0.06);
  flex-shrink:        0;
  z-index:            10;
  margin:             0 -60px -16px;
}

.modal-nav-btn {
  display:         flex;
  align-items:     center;
  gap:             10px;
  padding:         10px 18px;
  border-radius:   999px;
  border:          1px solid rgba(255,255,255,0.1);
  background:      rgba(255,255,255,0.05);
  color:           rgba(243,238,231,0.55);
  font-family:     'Outfit', sans-serif;
  font-size:       0.65rem;
  font-weight:     400;
  letter-spacing:  0.28em;
  text-transform:  uppercase;
  cursor:          pointer;
  backdrop-filter: blur(12px);
  transition:      background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s;
  user-select:     none;
}

.modal-nav-btn:hover:not(:disabled) {
  background:   rgba(201,169,110,0.12);
  border-color: rgba(201,169,110,0.45);
  color:        var(--gold);
  transform:    scale(1.03);
}

.modal-nav-btn:disabled {
  opacity: 0.2;
  cursor:  default;
}

.modal-nav-btn.prev::before { content: '←'; font-size: 1rem; }
.modal-nav-btn.next::after  { content: '→'; font-size: 1rem; }

.modal-nav-counter {
  font-family:    'Playfair Display', serif;
  font-size:      0.85rem;
  color:          rgba(243,238,231,0.25);
  letter-spacing: 0.1em;
  white-space:    nowrap;
}

.modal-nav-counter span {
  color:     var(--gold);
  font-size: 1rem;
}


/* ============================================================
   ADMIN PANEL
============================================================ */

/* Floating trigger button */
.admin-fab {
  position:        fixed;
  bottom:          32px;
  right:           32px;
  z-index:         900;
  width:           52px;
  height:          52px;
  border-radius:   50%;
  background:      linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.08));
  border:          1px solid rgba(201,169,110,0.35);
  backdrop-filter: blur(16px);
  color:           var(--gold);
  font-size:       20px;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  box-shadow:      0 8px 32px rgba(0,0,0,0.5);
  transition:      background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.admin-fab:hover {
  background:  rgba(201,169,110,0.22);
  transform:   scale(1.08);
  box-shadow:  0 12px 40px rgba(0,0,0,0.6), 0 0 30px rgba(201,169,110,0.1);
}

.admin-fab-tip {
  position:       fixed;
  bottom:         40px;
  right:          94px;
  z-index:        900;
  font-size:      0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          rgba(243,238,231,0.3);
  pointer-events: none;
  white-space:    nowrap;
  opacity:        0;
  transform:      translateX(6px);
  transition:     opacity 0.25s, transform 0.25s;
}

.admin-fab:hover ~ .admin-fab-tip {
  opacity:   1;
  transform: translateX(0);
}

/* Admin overlay */
.admin-wrap {
  position:       fixed;
  inset:          0;
  z-index:        1200;
  pointer-events: none;
  visibility:     hidden;
  opacity:        0;
  transition:     opacity 0.4s;
}

.admin-wrap.open {
  pointer-events: all;
  visibility:     visible;
  opacity:        1;
}

.admin-bg {
  position:        absolute;
  inset:           0;
  background:      rgba(0,0,0,0.92);
  backdrop-filter: blur(28px);
}

/* Right-side drawer */
.admin-panel {
  position:        absolute;
  top:             0;
  right:           0;
  bottom:          0;
  width:           min(96vw, 560px);
  background:      rgba(10,10,16,0.97);
  border-left:     1px solid rgba(255,255,255,0.07);
  display:         flex;
  flex-direction:  column;
  transform:       translateX(100%);
  transition:      transform 0.45s var(--ease);
  backdrop-filter: blur(20px);
}

.admin-wrap.open .admin-panel { transform: translateX(0); }

/* Admin header */
.admin-head {
  flex-shrink:     0;
  padding:         28px 32px 20px;
  border-bottom:   1px solid rgba(255,255,255,0.06);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.admin-head-title {
  font-family:  'Playfair Display', serif;
  font-size:    1.2rem;
  font-weight:  700;
  color:        var(--white);
}

.admin-head-title em {
  font-style: italic;
  color:      var(--gold);
}

.admin-head-actions {
  display:     flex;
  gap:         10px;
  align-items: center;
}

/* Small icon buttons */
.icon-btn {
  display:        flex;
  align-items:    center;
  gap:            6px;
  padding:        7px 14px;
  border-radius:  8px;
  border:         1px solid rgba(255,255,255,0.09);
  background:     rgba(255,255,255,0.04);
  color:          rgba(243,238,231,0.55);
  font-family:    'Outfit', sans-serif;
  font-size:      0.62rem;
  font-weight:    400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor:         pointer;
  transition:     background 0.25s, border-color 0.25s, color 0.25s;
}

.icon-btn:hover {
  background:   rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color:        var(--white);
}

.icon-btn.gold {
  border-color: rgba(201,169,110,0.3);
  color:        var(--gold);
  background:   rgba(201,169,110,0.06);
}

.icon-btn.gold:hover {
  background:   rgba(201,169,110,0.14);
  border-color: rgba(201,169,110,0.55);
}

.icon-btn.danger {
  border-color: rgba(220,60,60,0.25);
  color:        rgba(255,100,100,0.7);
}

.icon-btn.danger:hover {
  background:   rgba(220,60,60,0.12);
  border-color: rgba(220,60,60,0.5);
  color:        rgba(255,120,120,1);
}

/* Round close button */
.admin-close {
  width:           34px;
  height:          34px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.05);
  border:          1px solid rgba(255,255,255,0.09);
  color:           rgba(243,238,231,0.45);
  font-size:       15px;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      background 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.admin-close:hover {
  background: rgba(220,60,60,0.15);
  color:      rgba(255,100,100,0.9);
  transform:  rotate(90deg);
}

/* Tabs */
.admin-tabs {
  display:       flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink:   0;
}

.admin-tab {
  flex:           1;
  padding:        14px 0;
  text-align:     center;
  font-size:      0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color:          rgba(243,238,231,0.35);
  cursor:         pointer;
  border-bottom:  2px solid transparent;
  transition:     color 0.3s, border-color 0.3s;
}

.admin-tab.on {
  color:              var(--gold);
  border-bottom-color: var(--gold);
}

/* Tab panes */
.admin-body {
  flex:     1;
  overflow: hidden;
  position: relative;
}

.admin-pane {
  position:        absolute;
  inset:           0;
  overflow-y:      auto;
  padding:         24px 32px 32px;
  display:         flex;
  flex-direction:  column;
  gap:             16px;
  opacity:         0;
  pointer-events:  none;
  transition:      opacity 0.3s;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,169,110,0.2) transparent;
}

.admin-pane::-webkit-scrollbar       { width: 2px; }
.admin-pane::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.25); }

.admin-pane.active {
  opacity:        1;
  pointer-events: all;
}


/* ============================================================
   ADMIN FORM
============================================================ */
.a-section-title {
  font-size:      0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color:          rgba(201,169,110,0.6);
  margin-bottom:  4px;
  margin-top:     4px;
}

.f-block {
  display:        flex;
  flex-direction: column;
  gap:            7px;
}

.f-label {
  font-size:      0.59rem;
  font-weight:    500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color:          rgba(201,169,110,0.6);
}

.f-in,
.f-ta {
  background:         rgba(255,255,255,0.04);
  border:             1px solid rgba(255,255,255,0.07);
  border-bottom-color: rgba(255,255,255,0.14);
  border-radius:      10px;
  color:              var(--white);
  padding:            11px 15px;
  font-size:          0.86rem;
  font-family:        'Outfit', sans-serif;
  font-weight:        300;
  outline:            none;
  transition:         border-color 0.3s, background 0.3s;
}

.f-in:focus,
.f-ta:focus {
  border-color: rgba(201,169,110,0.45);
  background:   rgba(255,255,255,0.06);
}

.f-ta {
  resize:     vertical;
  min-height: 110px;
}

.f-row {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   12px;
}

/* Image upload area */
.img-upload-area {
  border:         1.5px dashed rgba(255,255,255,0.1);
  border-radius:  12px;
  padding:        20px;
  text-align:     center;
  cursor:         pointer;
  transition:     border-color 0.3s, background 0.3s;
  position:       relative;
}

.img-upload-area:hover {
  border-color: rgba(201,169,110,0.4);
  background:   rgba(201,169,110,0.04);
}

.img-upload-area input[type=file] {
  position: absolute;
  inset:    0;
  opacity:  0;
  cursor:   pointer;
}

.img-upload-icon {
  font-size:     1.6rem;
  margin-bottom: 8px;
}

.img-upload-text {
  font-size:   0.72rem;
  color:       rgba(243,238,231,0.35);
  line-height: 1.6;
}

.img-upload-text b {
  color:       var(--gold);
  font-weight: 400;
}

.img-preview {
  width:         100%;
  height:        140px;
  object-fit:    cover;
  border-radius: 8px;
  margin-top:    10px;
  display:       none;
}

.img-or {
  font-size:      0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color:          rgba(243,238,231,0.2);
  text-align:     center;
}

/* Submit button */
.submit-btn {
  padding:        14px 20px;
  border:         none;
  border-radius:  12px;
  background:     linear-gradient(135deg, var(--gold) 0%, #9b6a2a 100%);
  color:          #000;
  font-family:    'Outfit', sans-serif;
  font-weight:    500;
  font-size:      0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor:         pointer;
  margin-top:     4px;
  transition:     opacity 0.25s, transform 0.2s;
}

.submit-btn:hover {
  opacity:   0.87;
  transform: translateY(-1px);
}


/* ============================================================
   STORY LIST (Manage pane)
============================================================ */
.story-list-item {
  display:     flex;
  align-items: center;
  gap:         14px;
  padding:     14px 16px;
  border-radius: 12px;
  border:      1px solid rgba(255,255,255,0.06);
  background:  rgba(255,255,255,0.03);
  transition:  background 0.25s, border-color 0.25s;
}

.story-list-item:hover {
  background:   rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.1);
}

.sli-thumb {
  width:         52px;
  height:        52px;
  border-radius: 8px;
  object-fit:    cover;
  flex-shrink:   0;
  filter:        saturate(0.7) brightness(0.75);
}

.sli-info {
  flex:      1;
  min-width: 0;
}

.sli-title {
  font-family:    'Playfair Display', serif;
  font-size:      0.88rem;
  font-weight:    700;
  color:          var(--white);
  white-space:    nowrap;
  overflow:       hidden;
  text-overflow:  ellipsis;
}

.sli-meta {
  font-size:      0.65rem;
  color:          rgba(243,238,231,0.3);
  margin-top:     3px;
  letter-spacing: 0.05em;
}

.sli-actions {
  display:     flex;
  gap:         8px;
  flex-shrink: 0;
}

.sli-btn {
  width:           30px;
  height:          30px;
  border-radius:   8px;
  border:          1px solid rgba(255,255,255,0.08);
  background:      rgba(255,255,255,0.04);
  color:           rgba(243,238,231,0.4);
  font-size:       13px;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      background 0.25s, border-color 0.25s, color 0.25s;
}

.sli-btn:hover {
  background: rgba(255,255,255,0.1);
  color:      var(--white);
}

.sli-btn.del:hover {
  background:   rgba(220,60,60,0.15);
  border-color: rgba(220,60,60,0.4);
  color:        rgba(255,100,100,0.9);
}


/* ============================================================
   IMPORT / EXPORT PANE
============================================================ */
.io-card {
  border:         1px solid rgba(255,255,255,0.07);
  border-radius:  14px;
  padding:        22px;
  background:     rgba(255,255,255,0.03);
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.io-card-title {
  font-size:      0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color:          var(--white);
}

.io-card-desc {
  font-size:   0.78rem;
  color:       rgba(243,238,231,0.35);
  line-height: 1.6;
}

.io-card .icon-btn { align-self: flex-start; }


/* ============================================================
   TOAST NOTIFICATION
============================================================ */
.toast {
  position:        fixed;
  bottom:          32px;
  left:            50%;
  transform:       translateX(-50%) translateY(20px);
  z-index:         9999;
  padding:         12px 24px;
  border-radius:   999px;
  background:      rgba(201,169,110,0.12);
  border:          1px solid rgba(201,169,110,0.35);
  backdrop-filter: blur(16px);
  color:           var(--gold);
  font-size:       0.72rem;
  letter-spacing:  0.2em;
  text-transform:  uppercase;
  opacity:         0;
  transition:      opacity 0.3s, transform 0.3s;
  pointer-events:  none;
  white-space:     nowrap;
}

.toast.show {
  opacity:   1;
  transform: translateX(-50%) translateY(0);
}


/* ============================================================
   KEYFRAME ANIMATIONS
============================================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
============================================================ */

/* Tablet: 768–1099px */
@media (max-width: 1099px) {
  .card[data-slot="0"]                  { grid-column: span 12; }
  .card[data-slot="0"] .card-photo      { height: 440px; }
  .card[data-slot="0"] .card-title      { font-size: 1.6rem; }

  .card[data-slot="1"],
  .card[data-slot="2"],
  .card[data-slot="3"]                  { grid-column: span 6; }

  .card[data-slot="1"] .card-photo,
  .card[data-slot="2"] .card-photo,
  .card[data-slot="3"] .card-photo      { height: 320px; }

  .card[data-slot="1"] .card-title,
  .card[data-slot="2"] .card-title,
  .card[data-slot="3"] .card-title      { font-size: 1.1rem; }

  .card[data-slot="4"]                  { grid-column: span 12; }
  .card[data-slot="4"] .card-photo      { height: 300px; }

  .card[data-slot="5"],
  .card[data-slot="6"]                  { grid-column: span 6; }

  .modal-panel          { grid-template-columns: 1fr; }
  .modal-photo          { height: 42vh; min-height: 240px; }
  .modal-content        { padding: 52px 36px 16px; }
  .m-title              { font-size: 1.65rem; }
  .modal-nav            { margin: 0 -36px -16px; }
}

/* Large phone: 576–767px */
@media (max-width: 767px) {
  .hdr-top              { padding: 22px 22px; }
  .nav-link             { display: none; }
  .hdr-right            { gap: 0; }
  .btn-add              { padding: 8px 16px; font-size: 0.62rem; letter-spacing: 0.18em; }
  .hdr-hero             { padding: 0 22px 48px; }
  .hero-scroll-hint     { right: 22px; bottom: 32px; }
  .filter-inner         { padding: 0 16px; }
  .ftab                 { padding: 0 13px; font-size: 0.6rem; letter-spacing: 0.22em; }
  .filter-count         { display: none; }
  .main                 { padding: 32px 16px 72px; }
  .grid                 { gap: 14px; }

  .card[data-slot]             { grid-column: span 12 !important; }
  .card[data-slot] .card-photo { height: 280px !important; }
  .card[data-slot] .card-title { font-size: 1.15rem !important; }

  .quote-section        { flex-direction: column; gap: 16px; padding: 0 22px 60px; }
  .q-line               { width: 80%; height: 1px; }
  .q-text               { font-size: 0.9rem; }
  .site-footer          { padding: 20px 22px; }

  .modal-panel          { grid-template-columns: 1fr; }
  .modal-photo          { height: 38vh; min-height: 200px; }
  .modal-content        { padding: 48px 22px 16px; gap: 16px; }
  .m-title              { font-size: 1.4rem; }
  .m-story              { font-size: 0.88rem; line-height: 1.9; }
  .modal-nav            { margin: 0 -22px -16px; padding: 14px 18px; }
  .modal-nav-btn        { padding: 8px 14px; font-size: 0.6rem; }
  .admin-panel          { width: 100%; }
  .f-row                { grid-template-columns: 1fr; }
}

/* Small phone: 375–575px */
@media (max-width: 575px) {
  .logo                 { font-size: 1rem; }
  .modal-photo          { height: 32vh; }
  .modal-content        { padding: 44px 18px 16px; }
  .modal-nav            { margin: 0 -18px -16px; }
}

/* Very small: under 375px */
@media (max-width: 374px) {
  .ftab                 { padding: 0 9px; font-size: 0.56rem; }
  .hero-title           { font-size: 2.6rem; }
}


/* ============================================================
   PASSWORD GATE
============================================================ */
.pw-overlay {
  position:        fixed;
  inset:           0;
  z-index:         2000;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(0,0,0,0.92);
  backdrop-filter: blur(24px);
  opacity:         0;
  pointer-events:  none;
  transition:      opacity 0.35s;
}

.pw-overlay.open {
  opacity:        1;
  pointer-events: all;
}

.pw-box {
  position:       relative;
  width:          min(90vw, 380px);
  background:     rgba(12,12,20,0.97);
  border:         1px solid rgba(255,255,255,0.08);
  border-radius:  20px;
  padding:        40px 36px 36px;
  display:        flex;
  flex-direction: column;
  gap:            18px;
}

.pw-icon {
  width:           48px;
  height:          48px;
  border-radius:   50%;
  background:      rgba(201,169,110,0.1);
  border:          1px solid rgba(201,169,110,0.25);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       20px;
  margin:          0 auto;
}

.pw-title {
  font-family:  'Playfair Display', serif;
  font-size:    1.4rem;
  font-weight:  700;
  color:        var(--white);
  text-align:   center;
}

.pw-title em {
  font-style: italic;
  color:      var(--gold);
}

.pw-desc {
  font-size:   0.78rem;
  color:       rgba(243,238,231,0.35);
  text-align:  center;
  line-height: 1.6;
}

.pw-field {
  position:    relative;
  display:     flex;
  align-items: center;
}

.pw-input {
  width:           100%;
  background:      rgba(255,255,255,0.05);
  border:          1px solid rgba(255,255,255,0.1);
  border-radius:   12px;
  color:           var(--white);
  padding:         13px 48px 13px 18px;
  font-size:       1rem;
  font-family:     'Outfit', sans-serif;
  outline:         none;
  transition:      border-color 0.3s;
}

.pw-input:focus { border-color: rgba(201,169,110,0.5); }

.pw-input.shake { animation: shake 0.4s ease; }

@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-8px); }
  75%     { transform: translateX(8px); }
}

.pw-eye-btn {
  position:   absolute;
  right:      14px;
  background: none;
  border:     none;
  cursor:     pointer;
  color:      rgba(243,238,231,0.3);
  font-size:  16px;
  padding:    4px;
  transition: color 0.25s;
}

.pw-eye-btn:hover { color: rgba(243,238,231,0.7); }

.pw-err {
  font-size:   0.72rem;
  color:       rgba(255,100,100,0.8);
  text-align:  center;
  min-height:  18px;
}

.pw-submit {
  padding:        14px;
  background:     linear-gradient(135deg, var(--gold), #9b6a2a);
  border:         none;
  border-radius:  12px;
  color:          #000;
  font-family:    'Outfit', sans-serif;
  font-weight:    500;
  font-size:      0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor:         pointer;
  transition:     opacity 0.25s;
}

.pw-submit:hover { opacity: 0.87; }

.pw-close-btn {
  position:        absolute;
  top:             14px;
  right:           14px;
  width:           32px;
  height:          32px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.05);
  border:          1px solid rgba(255,255,255,0.08);
  color:           rgba(243,238,231,0.4);
  font-size:       14px;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      all 0.3s;
}

.pw-close-btn:hover {
  background: rgba(220,60,60,0.15);
  color:      rgba(255,100,100,0.9);
}


/* ============================================================
   LOADING OVERLAY
============================================================ */
.lo-overlay {
  position:        fixed;
  inset:           0;
  z-index:         5000;
  background:      rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px) saturate(0.3);
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             32px;
  opacity:         0;
  pointer-events:  none;
  transition:      opacity 0.5s ease;
}

.lo-overlay.show {
  opacity:        1;
  pointer-events: all;
}

/* ── Spinner wrapper ── */
.lo-spin {
  position:   relative;
  width:      42px;
  height:     42px;
  border:     none;
  background: none;
  animation:  none;
}

/* Gradient conic outer ring */
.lo-spin::before {
  content:       '';
  position:      absolute;
  inset:         0;
  border-radius: 50%;
  background:    conic-gradient(
    from 0deg,
    transparent      0%,
    rgba(201,169,110,0.15) 30%,
    var(--gold)      70%,
    #E8C98A          85%,
    transparent      100%
  );
  animation:  loSpin 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  mask:        radial-gradient(
    farthest-side,
    transparent calc(100% - 2.5px),
    #fff        calc(100% - 2.5px)
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2.5px),
    #fff        calc(100% - 2.5px)
  );
}

/* Inner counter-rotating ring */
.lo-spin::after {
  content:       '';
  position:      absolute;
  inset:         14px;
  border-radius: 50%;
  background:    conic-gradient(
    from 180deg,
    transparent              0%,
    rgba(243,238,231,0.08)   20%,
    rgba(243,238,231,0.55)   65%,
    transparent              100%
  );
  animation:  loSpinReverse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  mask:        radial-gradient(
    farthest-side,
    transparent calc(100% - 1.5px),
    #fff        calc(100% - 1.5px)
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 1.5px),
    #fff        calc(100% - 1.5px)
  );
}

@keyframes loSpin        { to { transform: rotate(360deg); } }
@keyframes loSpinReverse { to { transform: rotate(-360deg); } }

/* Center glowing dot */
.lo-spin-dot {
  position:      absolute;
  top:           50%;
  left:          50%;
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    linear-gradient(135deg, var(--gold), #E8C98A);
  box-shadow:    0 0 10px rgba(201,169,110,0.8),
                 0 0 24px rgba(201,169,110,0.4),
                 0 0 40px rgba(201,169,110,0.15);
  animation:     loDotPulse 1.6s ease-in-out infinite;
  transform:     translate(-50%, -50%);
}

@keyframes loDotPulse {
  0%, 100% {
    transform:  translate(-50%, -50%) scale(0.85);
    box-shadow: 0 0 8px  rgba(201,169,110,0.6),
                0 0 20px rgba(201,169,110,0.3),
                0 0 36px rgba(201,169,110,0.1);
  }
  50% {
    transform:  translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 14px rgba(201,169,110,0.9),
                0 0 32px rgba(201,169,110,0.55),
                0 0 56px rgba(201,169,110,0.25);
  }
}

/* Message with shimmer effect */
.lo-msg {
  position:        relative;
  font-size:       0.58rem;
  letter-spacing:  0.65em;
  text-transform:  uppercase;
  color:           transparent;
  background:      linear-gradient(
    90deg,
    rgba(243,238,231,0.2)  0%,
    rgba(243,238,231,0.75) 35%,
    var(--gold)            50%,
    rgba(243,238,231,0.75) 65%,
    rgba(243,238,231,0.2)  100%
  );
  background-size:       220% 100%;
  -webkit-background-clip: text;
  background-clip:         text;
  animation:               loShimmer 2.4s ease-in-out infinite;
}

@keyframes loShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
                           }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  position: relative;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 192px;
  background: rgba(99,102,241,0.2);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.footer-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
}
.footer-inner {
  position: relative;
  z-index: 10;
  padding: 64px 48px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 4fr 2fr 3fr 3fr; }
}
.footer-brand-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 280px;
  margin: 24px 0;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 8px;
  transition: color 0.3s;
}
.footer-contact-row svg { width: 13px; height: 13px; flex-shrink: 0; }
.footer-contact-row:hover { color: var(--white); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--white); }
.footer-link-line {
  width: 16px; height: 1px;
  background: var(--gray-700);
  transition: width 0.3s, background 0.3s;
  flex-shrink: 0;
}
.footer-link:hover .footer-link-line { width: 24px; background: var(--white); }
.footer-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.footer-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
.footer-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter 0.3s;
}
.footer-thumb:hover img { filter: brightness(1.15); }
.footer-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color 0.3s;
}
.footer-view-all:hover { color: var(--white); }
.footer-view-all svg { width: 10px; height: 10px; }
.footer-rule-bottom {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  margin-bottom: 32px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copyright {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray-600);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-grad-footer {
  background: linear-gradient(90deg, #6366f1, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Modal Prev / Next Navigation ── */
/* ── Modal Prev / Next Navigation ── */
.modal-nav {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  margin-top: auto;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  z-index: 10;
}

.modal-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(243,238,231,0.55);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s;
  user-select: none;
}

.modal-nav-btn:hover:not(:disabled) {
  background: rgba(201,169,110,0.12);
  border-color: rgba(201,169,110,0.45);
  color: var(--gold);
  transform: scale(1.03);
}

.modal-nav-btn:disabled {
  opacity: 0.2;
  cursor: default;
}

.modal-nav-btn.prev::before { content: '←'; font-size: 1rem; }
.modal-nav-btn.next::after  { content: '→'; font-size: 1rem; }

.modal-nav-counter {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: rgba(243,238,231,0.25);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.modal-nav-counter span {
  color: var(--gold);
  font-size: 1rem;
}


/* ============================================= SKELETON LOADING ============================================= */

/* ── Skeleton shimmer overlay on real cards ── */
.card.sk-loading {
  pointer-events: none;
}

.card.sk-loading .card-photo img {
  opacity: 0;
}

.card.sk-loading .card-photo::before {
  content:         '';
  position:        absolute;
  inset:           0;
  z-index:         10;
  background:      linear-gradient(
    90deg,
    rgba(255,255,255,0.04)   0%,
    rgba(255,255,255,0.10)  38%,
    rgba(201,169,110,0.10)  50%,
    rgba(255,255,255,0.10)  62%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 300% 100%;
  animation:       skShimmer 1.8s ease-in-out infinite;
}

.card.sk-loading .card-chip,
.card.sk-loading .card-index,
.card.sk-loading .card-loc,
.card.sk-loading .card-title,
.card.sk-loading .card-sub,
.card.sk-loading .card-action {
  opacity:         0;
  position:        relative;
}

.card.sk-loading .card-chip::after,
.card.sk-loading .card-title::after,
.card.sk-loading .card-sub::after {
  content:         '';
  position:        absolute;
  inset:           0;
  border-radius:   4px;
  background:      linear-gradient(
    90deg,
    rgba(255,255,255,0.05)   0%,
    rgba(255,255,255,0.11)  38%,
    rgba(201,169,110,0.09)  50%,
    rgba(255,255,255,0.11)  62%,
    rgba(255,255,255,0.05) 100%
  );
  background-size: 300% 100%;
  animation:       skShimmer 1.8s ease-in-out infinite;
  opacity:         1;
}

.card.sk-loading .card-chip::after  { border-radius: 999px; }
.card.sk-loading .card-title::after { height: 22px; top: 2px; width: 80%; }
.card.sk-loading .card-sub::after   { height: 14px; top: 3px; width: 60%; }

@keyframes skShimmer {
  0%   { background-position:  200% center; }
  100% { background-position: -200% center; }
}


/* ======== Small phone: 375–575px ============ */


@media (max-width: 575px) {
  .logo { font-size: 1rem; }
  .hero-title { line-height: 0.95; }
  .card-photo img { border-radius: 0; }
  .card-photo { border-radius: 18px 18px 0 0; }
  .modal-photo { height: 32vh; }
  .modal-content { padding: 44px 18px 28px; }
}

/* Very small: under 375px */
@media (max-width: 374px) {
  .ftab { padding: 0 9px; font-size: 0.56rem; }
  .hero-title { font-size: 2.6rem; }
  .add-scroll { padding: 40px 18px 28px; }
}

@media (max-width: 767px) {
  .navbar-inner { padding: 0 20px; }
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .footer-inner { padding: 48px 20px 32px; }
  .form-card { padding: 24px; }
}
@media (min-width: 768px) {
  .mobile-toggle { display: none; }
  .desktop-nav { display: flex; }
}

.fontx{
    font-weight: 10;
}

.hdr-bg img {
  transform: translateZ(0);
}
