/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
/* Google Fonts loaded via <link> in HTML for faster rendering */

:root {
  --gold: #FFA900;
  --gold-dark: #cc8700;
  --gold-light: rgba(255,169,0,0.12);
  --red: #D32F2F;
  --blue: #1976D2;
  --black: #0e0e0e;
  --dark: #161616;
  --charcoal: #1e1e1e;
  --mid: #2a2a2a;
  --grey-light: #f5f4f2;
  --grey-soft: #eceae6;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-soft: #999;
  --transition: all 0.42s cubic-bezier(0.165, 0.84, 0.44, 1);
  --radius: 8px;
  --shadow: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-dark: 0 20px 50px rgba(0,0,0,0.3);
  --container: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 110px 0; }

/* =========================================
   SECTION LABELS & TITLES
   ========================================= */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
  color: var(--black);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(255,169,0,0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,169,0,0.45);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

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

.btn-lg { padding: 1.15rem 3rem; font-size: 0.95rem; }

/* =========================================
   FLOATING NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1200px;
  z-index: 9999;
  transition: var(--transition);
}

.nav-pill {
  background: var(--gold);
  border-radius: 50px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(255,169,0,0.4), 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-pill {
  background: rgba(255,169,0,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(255,169,0,0.35), 0 4px 16px rgba(0,0,0,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links li a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  padding: 0.6rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(0,0,0,0.12);
}
.nav-links .nav-cta a {
  background: var(--red);
  color: var(--white);
  padding: 0.7rem 1.5rem;
}
.nav-links .nav-cta a:hover {
  background: var(--gold);
  color: var(--black);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9998;
  padding: 7rem 2rem 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-drawer.open {
  display: flex;
  opacity: 1;
}
.nav-drawer a {
  color: var(--white);
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  padding: 0.5rem 0;
  transition: var(--transition);
}
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer .drawer-cta {
  margin-top: 1rem;
  background: var(--red);
  color: var(--white) !important;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem !important;
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  padding: 180px 0 100px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,169,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at right, rgba(255,169,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .label { justify-content: center; }
.page-hero .label { color: var(--gold); }
.page-hero .label::before { background: var(--gold); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto; opacity: 0.7; }

/* Breadcrumb */
.breadcrumb {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
  white-space: nowrap;
}
.breadcrumb a:hover { color: var(--gold); opacity: 1; }
.breadcrumb span { color: var(--gold); }

/* =========================================
   MEDIA PLACEHOLDER
   ========================================= */
.placeholder {
  background: linear-gradient(135deg, #f0ede8 0%, #e8e3da 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #d0c9be;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,169,0,0.05) 100%);
}
.placeholder .ph-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}
.placeholder .ph-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
}
.placeholder .ph-desc {
  font-size: 0.7rem;
  color: var(--text-soft);
  text-align: center;
}

.placeholder.dark {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
  border-color: #333;
}
.placeholder.dark .ph-desc { color: #666; }

/* =========================================
   CARDS (shared)
   ========================================= */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--grey-soft);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--black);
  color: var(--white);
}
.footer-inner {
  padding: 90px 0 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.footer-brand .brand-tagline {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul li { margin-bottom: 0.85rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}
.footer-contact-item span:first-child { color: var(--gold); flex-shrink: 0; }

.social-row {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.social-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  background: var(--white);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: var(--gold); }

/* =========================================
   REVEAL ANIMATION
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Delay helpers */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* =========================================
   PAGE LOADER
   ========================================= */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.loader-bar-wrap {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--gold);
  animation: load 1.2s ease forwards;
}
@keyframes load { to { width: 100%; } }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .navbar { top: 12px; width: calc(100% - 2.5rem); }
  .nav-pill { padding: 0.6rem 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 60px 0 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 150px 0 80px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .btn { padding: 0.85rem 1.8rem; }
  .btn-lg { padding: 1rem 2.2rem; }
}

/* =========================================
   LOGO IMAGES
   ========================================= */
.nav-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.loader-logo-img {
  width: 120px;
  height: auto;
  animation: pulse 1.5s ease infinite;
}

.footer-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 100px;
  width: auto;
}

/* FOUNDER STORY INTEGRATION */
.story-intro-grid {
  display: grid; 
  grid-template-columns: 1fr 1fr;
  gap: 5rem; 
  align-items: center; 
  margin-top: 4rem;
}
.story-image-wrap { position: relative; }
.story-badge-abs {
  position: absolute; 
  bottom: -20px; 
  right: -20px;
  background: var(--gold); 
  color: var(--black);
  padding: 1.5rem; 
  border-radius: 8px;
  font-family: 'Playfair Display', serif; 
  font-weight: 900;
  font-size: 1.2rem; 
  text-align: center; 
  line-height: 1.3;
  box-shadow: 0 12px 32px rgba(255,169,0,0.35);
}
.story-badge-abs span { 
  display: block; 
  font-size: 0.65rem; 
  font-family: 'Inter',sans-serif; 
  font-weight: 500; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  opacity: 0.7; 
}

@media(max-width:768px){
  .story-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-badge-abs { right: 0; bottom: -10px; }
}
