/* ═══════════════════════════════════════════
   JH Concierge — Behind the Promise
   Brand: Deep Navy / Gold / Cream
   Fonts: Playfair Display + DM Sans
   ═══════════════════════════════════════════ */

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

:root {
  --navy: #0a1628;
  --card-navy: #111d32;
  --card-navy-light: #162240;
  --gold: #d4a853;
  --gold-dim: #b8923f;
  --cream: #f0ece4;
  --cream-warm: #e8e2d8;
  --white: #ffffff;
  --text-light: rgba(240, 236, 228, 0.7);
  --text-lighter: rgba(240, 236, 228, 0.45);
  --border: rgba(212, 168, 83, 0.15);
  --border-hover: rgba(212, 168, 83, 0.35);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo-dot { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
  background: rgba(212, 168, 83, 0.08);
}

.nav-link.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  padding: 8px 20px !important;
}

.nav-cta:hover { background: var(--gold-dim) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.25s;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 180px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 168, 83, 0.06) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(17, 29, 50, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 28px 36px;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.0s forwards;
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 48px;
}

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

/* ── Story ── */
.story { border-top: 1px solid var(--border); }

.story-content {
  max-width: 760px;
}

.story-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.85;
}

.story-content p:first-child {
  font-size: 1.15rem;
  color: var(--cream);
}

/* ── Pillars Preview ── */
.pillars-preview {
  background: var(--card-navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pillar-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pillar-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.pillar-type {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lighter);
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.pillars-cta { text-align: center; }

/* ── CTA Section ── */
.cta-section {
  border-top: 1px solid var(--border);
}

.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cta-attr {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 36px;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ── Why Page: Full Pillars ── */
.pillar-full {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.pillar-full:last-child { border-bottom: none; }

.pillar-full-meta {
  text-align: right;
  padding-top: 6px;
}

.pillar-full-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.pillar-full-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lighter);
}

.pillar-full-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
}

.pillar-full-content p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── Why Us Cards ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--card-navy);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.why-card-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 14px;
}

.why-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── Team Page ── */
.team-grid {
  display: grid;
  gap: 80px;
}

.team-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.team-member:nth-child(even) {
  direction: rtl;
}

.team-member:nth-child(even) > * {
  direction: ltr;
}

.team-photo-wrap {
  position: relative;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 600;
}

.team-member:hover .team-photo { filter: grayscale(0%); }

.team-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.team-bio p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.team-experience {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-exp-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}

.team-exp-badge {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding-top: 2px;
}

.team-exp-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.team-exp-text strong { color: var(--cream); }

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.team-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-light);
  background: var(--card-navy);
}

/* ── Work / Portfolio Page ── */
.work-category {
  margin-bottom: 64px;
}

.work-category:last-child { margin-bottom: 0; }

.work-category-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.work-card {
  display: block;
  text-decoration: none;
  background: var(--card-navy);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.work-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--card-navy-light);
}

.work-card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.work-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}

.work-card-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.work-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-lighter);
  width: 100%;
  text-align: center;
  margin-top: 24px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-member,
  .team-member:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }
  .team-photo-wrap { max-width: 240px; }
  .pillar-full {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pillar-full-meta {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .pillar-full-num { font-size: 2.2rem; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; }
  .nav-cta { margin-left: 0 !important; margin-top: 8px; text-align: center; }
  .hero { padding: 140px 0 80px; }
  .hero-quote { padding: 20px 24px; }
  .section { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
