/* ==========================================
   IJM COLLECTIVE — SITE STYLES
   Black & Gold Luxury Design
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #080808;
  --bg-card: #0f0f0f;
  --bg-elevated: #141414;
  --gold: #C9A84C;
  --gold-light: #E0C06E;
  --gold-muted: rgba(201, 168, 76, 0.12);
  --white: #FFFFFF;
  --gray: #888888;
  --gray-light: #AAAAAA;
  --border: rgba(201, 168, 76, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1080px;
  --radius: 3px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { color: var(--gray-light); line-height: 1.8; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }
.divider { width: 100%; height: 1px; background: var(--border-subtle); }

/* ---- NAV ---- */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 28px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}

.nav-links a {
  color: var(--gray-light); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  background: var(--gold);
  color: #080808 !important;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

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

.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); }

/* ---- HERO ---- */

.hero { padding: 160px 0 96px; }

.hero-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

.hero h1 { max-width: 840px; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  max-width: 540px;
  font-size: 1.05rem; color: var(--gray-light);
  margin-bottom: 44px; line-height: 1.8;
}

.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px;
  background: var(--gold); color: #080808;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--gold-light); color: #080808; transform: translateY(-2px); }

.btn-ghost {
  color: var(--gray-light); font-size: 0.9rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: var(--white); border-color: var(--white); }

/* ---- LABELS ---- */

.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}

.section-heading { color: var(--white); margin-bottom: 16px; }
.section-sub { max-width: 540px; color: var(--gray-light); margin-bottom: 56px; }

/* ---- SERVICES ---- */

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 56px;
}

.service-card {
  background: var(--bg-card); padding: 44px 36px;
  transition: background 0.3s;
}

.service-card:hover { background: var(--bg-elevated); }

.service-num {
  font-family: var(--font-display);
  font-size: 2.8rem; color: var(--gold);
  opacity: 0.2; font-weight: 400;
  margin-bottom: 24px; line-height: 1;
}

.service-card h3 { color: var(--white); margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; }

/* ---- PROCESS ---- */

.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--border-subtle);
  margin-top: 56px;
}

.process-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border-subtle);
  position: relative;
}

.process-step:last-child { border-right: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem; color: var(--gold);
  opacity: 0.1; font-weight: 600;
  position: absolute; top: 24px; right: 28px; line-height: 1;
}

.process-step h3 { color: var(--white); margin-bottom: 12px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; }

/* ---- DIFFERENTIATORS ---- */

.diff-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 56px;
}

.diff-item {
  background: var(--bg); padding: 44px 40px;
  transition: background 0.2s;
}

.diff-item:hover { background: var(--bg-card); }

.diff-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
  margin-bottom: 20px;
}

.diff-item h3 { color: var(--white); margin-bottom: 10px; }
.diff-item p { font-size: 0.9rem; }

/* ---- CTA BAND ---- */

.cta-band {
  text-align: center; padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.cta-band h2 { margin-bottom: 20px; }
.cta-band p { max-width: 460px; margin: 0 auto 40px; }

/* ---- FOOTER ---- */

footer { border-top: 1px solid var(--border-subtle); padding: 52px 0; }

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase;
}

.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--gray); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--gray); font-size: 0.8rem; }

/* ---- INNER PAGE HERO ---- */

.page-hero { padding: 160px 0 72px; border-bottom: 1px solid var(--border-subtle); }
.page-hero .hero-tag { margin-bottom: 20px; }
.page-hero h1 { max-width: 720px; margin-bottom: 20px; }
.page-hero p { max-width: 540px; font-size: 1.05rem; }

/* ---- ABOUT PAGE ---- */

.about-grid {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 80px; align-items: start; padding: 80px 0;
}

.about-content p { margin-bottom: 20px; }

.about-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.fact-item { background: var(--bg-card); padding: 28px 24px; }

.fact-number {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--gold);
  font-weight: 500; margin-bottom: 4px;
}

.fact-label { font-size: 0.82rem; color: var(--gray); }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 20px;
}

.value-item { background: var(--bg-card); padding: 36px 28px; }
.value-item h3 { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.value-item p { font-size: 0.88rem; }

/* ---- METHOD PAGE ---- */

.method-blocks { padding: 20px 0 80px; }

.method-block {
  padding: 72px 0;
  border-top: 1px solid var(--border-subtle);
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
}

.method-label { position: sticky; top: 88px; }
.method-label .section-label { margin-bottom: 12px; }
.method-label h3 { font-size: 1.5rem; color: var(--white); }

.method-body p { margin-bottom: 20px; }

.method-list { list-style: none; margin: 28px 0; }

.method-list li {
  padding: 14px 0; border-bottom: 1px solid var(--border-subtle);
  color: var(--gray-light); font-size: 0.93rem;
  display: flex; gap: 14px; align-items: flex-start;
}

.method-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.rule-box {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px; margin-top: 28px; border-radius: var(--radius);
}

.rule-box h4 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.rule-box p { font-size: 0.9rem; margin-bottom: 0; }

/* ---- CONTACT PAGE ---- */

.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; padding: 72px 0 96px; align-items: start;
}

.contact-info h3 { color: var(--white); margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }

.contact-details { list-style: none; }
.contact-details li {
  padding: 16px 0; border-bottom: 1px solid var(--border-subtle);
  display: flex; gap: 16px; font-size: 0.9rem;
}

.contact-details li strong { color: var(--white); min-width: 70px; flex-shrink: 0; }
.contact-details li span { color: var(--gray-light); }

.contact-cta-box {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 52px 44px;
}

.contact-cta-box .section-label { margin-bottom: 16px; }
.contact-cta-box h3 { color: var(--white); margin-bottom: 16px; font-size: 1.5rem; }
.contact-cta-box p { margin-bottom: 32px; font-size: 0.95rem; }

.contact-note {
  margin-top: 20px; font-size: 0.82rem;
  color: var(--gray); text-align: center;
}

/* ---- LEGAL PAGE ---- */

.legal-content { max-width: 700px; padding: 72px 0 100px; }
.legal-content h2 { font-size: 1.3rem; margin: 44px 0 14px; color: var(--white); }
.legal-content p { margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul { margin: 12px 0 20px 20px; }
.legal-content ul li { color: var(--gray-light); font-size: 0.95rem; margin-bottom: 8px; }

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(8,8,8,0.98); border-bottom: 1px solid var(--border-subtle);
    flex-direction: column; gap: 0; padding: 8px 0;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 28px; color: var(--white); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 130px 0 72px; }

  .services-grid,
  .process-grid,
  .diff-grid,
  .values-grid { grid-template-columns: 1fr; }

  .process-step { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .process-step:last-child { border-bottom: none; }

  .about-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .method-block { grid-template-columns: 1fr; gap: 32px; }
  .method-label { position: static; }

  section { padding: 64px 0; }

  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-links { justify-content: center; }
}
