/* ===== KASHVO CREATIVE HUB — SHARED STYLES ===== */

:root {
  --navy: #1A2B4A;
  --navy-deep: #0F1B33;
  --navy-soft: #2A3D5F;
  --gold: #C8A35A;
  --gold-bright: #D9B670;
  --gold-deep: #A8842F;
  --cream: #F5F1E8;
  --cream-warm: #ECE5D6;
  --cream-deep: #E0D6BC;
  --ink: #0A1426;
  --muted: #6B7488;
  --line: rgba(26, 43, 74, 0.12);
  --line-strong: rgba(26, 43, 74, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* ===== NAV ===== */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
}
.logo img { height: 56px; width: auto; }
.logo-text { font-family: 'Cormorant Garamond', serif; line-height: 1; }
.logo-text .a { font-weight: 600; font-size: 20px; letter-spacing: 0.12em; display: block; }
.logo-text .b { font-size: 10px; letter-spacing: 0.28em; color: var(--gold-deep); text-transform: uppercase; margin-top: 3px; display: block; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--navy); text-decoration: none;
  font-size: 14px; font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after { width: 100%; }

.has-dropdown { position: relative; }
.dropdown-caret { display: inline-block; margin-left: 4px; font-size: 10px; transition: transform 0.25s; }
.has-dropdown:hover .dropdown-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(26,43,74,0.12);
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--cream-warm); }
.dropdown a .di {
  width: 32px; height: 32px;
  background: rgba(200,163,90,0.15);
  color: var(--gold-deep);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.dropdown a:hover .di { background: var(--gold); color: var(--navy); }
.dropdown a .dd { font-size: 11.5px; color: var(--navy-soft); font-weight: 400; margin-top: 2px; line-height: 1.4; display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(168,132,47,0.3); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--navy); color: var(--cream); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Mobile menu */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.menu-btn span { width: 18px; height: 1.5px; background: var(--navy); transition: all 0.3s; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  padding: 80px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-overlay.open { transform: translateX(0); }
.mobile-overlay ul { list-style: none; }
.mobile-overlay li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.mobile-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.mobile-overlay a em { color: var(--gold-deep); font-style: italic; }
.mobile-overlay .mobile-cta { margin-top: 32px; }

/* ===== SHARED PAGE HEADER ===== */
.page-header {
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 20%; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.06;
  border-radius: 50%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(200,163,90,0.6); }
  50% { opacity: 0.6; transform: scale(1.4); box-shadow: 0 0 0 8px rgba(200,163,90,0); }
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 24px;
  color: var(--navy);
  max-width: 900px;
}
.page-title em, .page-title .ital { font-style: italic; color: var(--gold-deep); font-weight: 300; }
.page-subtitle {
  font-size: 18px;
  color: var(--navy-soft);
  max-width: 620px;
  margin-top: 28px;
  line-height: 1.6;
}

/* ===== SECTION TYPOGRAPHY ===== */
section { padding: 90px 0; position: relative; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: ''; width: 24px; height: 1px;
  background: var(--gold-deep);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 900px;
  color: var(--navy);
}
.section-title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.section-head { margin-bottom: 56px; }
.section-head p {
  color: var(--navy-soft);
  max-width: 560px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,241,232,0.1);
}
.foot-brand img { height: 72px; width: auto; opacity: 0.95; margin-bottom: 16px; filter: brightness(0) invert(1); }
.foot-brand p { font-size: 14px; opacity: 0.65; line-height: 1.65; max-width: 320px; }
.foot-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  color: rgba(245,241,232,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--gold-bright); }
.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(245,241,232,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  text-decoration: none;
  transition: all 0.25s;
}
.foot-socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ===== UTILITIES ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== CTA SHARED ===== */
.cta-section { padding: 60px 28px; }
.cta-box {
  background: var(--navy);
  border-radius: 32px;
  padding: 90px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--cream);
  max-width: 1320px;
  margin: 0 auto;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 50%);
  opacity: 0.25;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -300px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-deep) 0%, transparent 60%);
  opacity: 0.35;
}
.cta-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  position: relative; z-index: 2;
}
.cta-box h2 em { font-style: italic; color: var(--gold-bright); }
.cta-box p {
  max-width: 560px;
  margin: 26px auto 0;
  opacity: 0.85;
  font-size: 17px;
  position: relative; z-index: 2;
}
.cta-box .btn { margin-top: 30px; position: relative; z-index: 2; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links, .nav-inner > .btn { display: none; }
  .menu-btn { display: flex; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: span 3; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  nav { padding: 12px 0; }
  .logo img { height: 44px; }
  .page-header { padding: 48px 0 56px; }
  .page-title { font-size: 48px; line-height: 1; }
  .page-subtitle { font-size: 16px; }
  .section-title { font-size: 38px; line-height: 1; }
  .section-head { margin-bottom: 40px; }
  .cta-box { padding: 56px 28px; border-radius: 24px; }
  .cta-box h2 { font-size: 40px; }
  .cta-section { padding: 40px 16px; }
  footer { padding: 60px 0 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
  .foot-brand { grid-column: span 2; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
