/* ==========================================================
   Treacy Investments - Main Stylesheet
   ========================================================== */

/* FONTS (self-hosted) */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/outfit-300.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/outfit-400.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/outfit-500.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/outfit-600.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/outfit-700.ttf') format('truetype'); }

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-400.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-500.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-600.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-700.ttf') format('truetype'); }

/* RESET & VARIABLES */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0B0C10;
    --card: #1A1C23;
    --gold: #D4AF37;
    --gold-soft: rgba(212, 175, 55, 0.2);
    --border: #2D303E;
    --text: #F5F5F0;
    --muted: #9CA3AF;
}
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(11,12,16,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logo img { width: 240px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.btn-gold { background: var(--gold); color: #0B0C10; font-weight: 600; padding: 0.65rem 1.5rem; border: none; cursor: pointer; font-size: 0.9rem; transition: opacity 0.2s; }
.btn-gold:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 0.65rem 1.5rem; font-weight: 600; cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.btn-outline:hover { background: var(--gold); color: #0B0C10; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* SECTIONS */
.section { padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.container { max-width: 1280px; margin: 0 auto; }
.section-label { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; margin-bottom: 1rem; display: block; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; margin-bottom: 1rem; }
.section-desc { font-size: 1.1rem; color: rgba(245,245,240,0.8); max-width: 720px; line-height: 1.7; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; background-image: url('../images/hero-bg.png'); background-size: cover; background-position: center; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(11,12,16,0.85), rgba(11,12,16,0.4)); }
.hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; color: rgba(245,245,240,0.9); max-width: 700px; margin-bottom: 0.75rem; }
.hero .gold-text { color: var(--gold); font-weight: 600; }
.hero-cta { display: inline-block; margin-top: 2rem; padding: 1rem 2.5rem; font-size: 1rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--gold-soft); }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 1rem; color: var(--text); font-weight: 500; margin-top: 0.25rem; }

/* CREDIBILITY */
.cred-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; margin-top: 3rem; align-items: stretch; }
.cred-photo { position: relative; }
.cred-photo::before { content: ''; position: absolute; inset: -1rem; border: 1px solid rgba(212,175,55,0.3); z-index: -1; }
.cred-photo img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.cred-bio { background: var(--card); border: 1px solid var(--border); padding: 3rem; }
.cred-bio h3 { font-size: 2.2rem; color: var(--gold); margin-bottom: 1.5rem; }
.cred-bio p { color: rgba(245,245,240,0.8); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.25rem; }
.cred-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.badge-value { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); text-align: center; }
.badge-label { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.25rem; }

/* MODEL CARDS */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); margin-top: 3rem; }
.model-card { padding: 2.5rem; border: 1px solid var(--border); background: rgba(26,28,35,0.3); transition: border-color 0.2s; }
.model-card:hover { border-color: rgba(212,175,55,0.5); }
.model-card i { font-size: 2rem; color: var(--gold); margin-bottom: 1.5rem; display: block; }
.model-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.model-card p { color: rgba(245,245,240,0.7); font-size: 1rem; line-height: 1.7; }

/* DEAL ECONOMICS */
.deal-numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(212,175,55,0.4); margin-top: 3rem; margin-bottom: 3.5rem; }
.deal-num { padding: 2rem; text-align: center; border: 1px solid rgba(212,175,55,0.2); background: rgba(26,28,35,0.4); }
.deal-num .value { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.deal-num .label { font-weight: 500; margin-top: 0.5rem; }
.deal-num .sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* QR */
.qr-row { display: flex; align-items: center; gap: 1.5rem; background: var(--card); border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 3.5rem; }
.qr-row img { width: 160px; height: 160px; background: #fff; padding: 1rem; border-radius: 4px; }
.qr-row h3 { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.5rem; }
.qr-row p { color: var(--muted); font-size: 1.05rem; }

/* PROJECT */
.project-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 1.5rem; margin-bottom: 3.5rem; }
.project-img { min-height: 400px; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-info { background: var(--card); border: 1px solid var(--border); padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.project-info h3 { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.project-info p { color: rgba(245,245,240,0.8); font-size: 1.05rem; margin-bottom: 1.5rem; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; color: rgba(245,245,240,0.8); }
.check-list li i { color: var(--gold); margin-top: 0.2rem; }

/* VIDEO */
.project-video { margin-bottom: 3.5rem; }
.project-video video { width: 100%; max-height: 500px; object-fit: cover; border: 1px solid var(--border); }

/* RISK */
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.risk-card { background: var(--card); border: 1px solid var(--border); padding: 2.5rem; transition: border-color 0.2s; }
.risk-card:hover { border-color: rgba(212,175,55,0.5); }
.risk-icon { width: 48px; height: 48px; background: var(--gold-soft); border: 1px solid rgba(212,175,55,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.risk-icon i { color: var(--gold); font-size: 1.2rem; }
.risk-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.risk-card p { color: rgba(245,245,240,0.7); line-height: 1.7; }

/* PROCESS */
.process-steps { margin-top: 3rem; }
.step { display: flex; gap: 3rem; margin-bottom: 3rem; align-items: flex-start; }
.step-number { width: 5rem; height: 5rem; flex-shrink: 0; background: var(--card); border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); transition: border-color 0.2s; }
.step:hover .step-number { border-color: var(--gold); }
.step-content { background: var(--card); border: 1px solid var(--border); padding: 2rem; flex: 1; transition: border-color 0.2s; }
.step:hover .step-content { border-color: rgba(212,175,55,0.5); }
.step-content h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.75rem; }
.step-content p { color: rgba(245,245,240,0.7); font-size: 1.05rem; line-height: 1.7; }

/* CTA */
.cta-section { text-align: center; padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.cta-section h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: rgba(245,245,240,0.8); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-main-btn { display: inline-block; padding: 1rem 3rem; font-size: 1.1rem; }
.cta-links { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.cta-links a, .cta-links span { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.cta-links a:hover { color: var(--gold); }
.cta-links i { color: var(--gold); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.team-card { background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(30%); transition: all 0.5s; }
.team-card:hover img { filter: grayscale(0%); transform: scale(1.03); }
.team-card .info { padding: 2rem; }
.team-card h3 { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.5rem; }
.team-card .title { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }
.team-card .bio { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* FOOTER */
.footer { padding: 3rem 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.footer p { color: var(--muted); font-size: 0.9rem; }

/* UTILITIES */
.text-center { text-align: center; }
.section-cta { display: inline-block; padding: 1rem 2.5rem; font-size: 1rem; }
.section-cta i { margin-left: 0.5rem; }

/* MOBILE NAV */
.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(11,12,16,0.95);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .model-grid, .risk-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cred-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .deal-numbers { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .model-grid, .risk-grid, .team-grid { grid-template-columns: 1fr; }
    .step { flex-direction: column; gap: 1rem; }
    .step-number { width: 4rem; height: 4rem; font-size: 1.4rem; }
    .cred-badges { grid-template-columns: repeat(2, 1fr); }
    .qr-row { flex-direction: column; text-align: center; }
    .cta-links { flex-direction: column; }
}
