/*
Theme Name: Wright Acquisitions
Theme URI: https://wrightacquisitions.com
Description: Custom theme for Wright Acquisitions — private business acquisition firm.
Author: Casey Wright
Version: 1.0
*/

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

:root {
    --bg:         #09090B;
    --bg2:        #111114;
    --text:       #E2DAC8;
    --muted:      #7A7060;
    --gold:       #C09A4E;
    --gold-light: #D4B878;
    --border:     rgba(192,154,78,0.18);
    --disp:       'Cormorant Garamond', serif;
    --body:       'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    padding: 1.6rem 5rem;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.35s, border-bottom 0.35s;
}
nav.scrolled {
    background: rgba(9,9,11,0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.logo {
    font-family: var(--disp);
    font-size: 1.25rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text); text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--text); transition: 0.3s; }
.mobile-menu {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 190;
    padding: 6rem 3rem 3rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-family: var(--disp); font-size: 2.5rem; font-weight: 300;
    color: var(--text); text-decoration: none;
    padding: 1rem 0; border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── SHARED ── */
.gold-line {
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.gold-line::before { content: ''; display: block; width: 36px; height: 1px; background: var(--gold); }

.divider { height: 1px; background: var(--border); margin: 0 5rem; }

section { padding: 6rem 5rem; }

.btn {
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    background: transparent; border: 1px solid var(--gold);
    color: var(--gold); font-family: var(--body);
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
    cursor: pointer; text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold); color: var(--bg); }

footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 5rem;
    display: flex; align-items: center; justify-content: space-between;
}
footer p { font-size: 0.75rem; color: var(--muted); }
footer a { color: var(--gold); text-decoration: none; font-size: 0.75rem; }
footer a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.a0 { animation: fadeUp 0.8s ease both; }
.a1 { animation: fadeUp 0.8s 0.15s ease both; }
.a2 { animation: fadeUp 0.8s 0.3s  ease both; }
.a3 { animation: fadeUp 0.8s 0.45s ease both; }

/* ════ HOME ════ */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 8rem 5rem 5rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 75% 40%, rgba(192,154,78,0.045) 0%, transparent 55%);
    pointer-events: none;
}
.hero-eyebrow { margin-bottom: 1.8rem; }
.hero h1 {
    font-family: var(--disp);
    font-size: clamp(3.8rem, 7.5vw, 7.5rem);
    font-weight: 300; line-height: 1.04; letter-spacing: -0.01em;
    color: var(--text); max-width: 820px; margin-bottom: 2rem;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
    font-size: 1rem; font-weight: 300; color: var(--muted);
    max-width: 500px; line-height: 1.85; margin-bottom: 3rem;
}
.scroll-hint {
    position: absolute; bottom: 3rem; left: 5rem;
    font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted); display: flex; align-items: center; gap: 1rem;
}
.scroll-hint::after {
    content: ''; display: block; height: 1px;
    background: var(--muted); animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { width: 24px; opacity: 0.35; }
    50%      { width: 56px; opacity: 0.9; }
}
.pillars { display: grid; grid-template-columns: repeat(3,1fr); }
.pillar {
    padding: 3rem;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: none; }
.pillar-num {
    font-family: var(--disp); font-size: 3.2rem; font-weight: 300;
    color: rgba(192,154,78,0.12); line-height: 1; margin-bottom: 1.5rem;
}
.pillar h3 {
    font-family: var(--disp); font-size: 1.55rem; font-weight: 400;
    color: var(--text); margin-bottom: 0.9rem;
}
.pillar p { font-size: 0.875rem; color: var(--muted); line-height: 1.85; }
.mission {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.mission-inner { max-width: 780px; }
.mission h2 {
    font-family: var(--disp);
    font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 300; line-height: 1.28;
    color: var(--text); margin: 1.8rem 0 1.5rem;
}
.mission p { font-size: 0.935rem; color: var(--muted); line-height: 1.9; margin-bottom: 1.4rem; }
.cta-section { text-align: center; padding: 8rem 5rem; }
.cta-section h2 {
    font-family: var(--disp);
    font-size: clamp(2.2rem, 4.5vw, 4.5rem); font-weight: 300; line-height: 1.18;
    color: var(--text); margin-bottom: 1.5rem;
}
.cta-section h2 em { font-style: italic; color: var(--gold-light); }
.cta-section p { color: var(--muted); font-size: 0.95rem; max-width: 480px; margin: 0 auto 2.5rem; }

/* ════ PAGE HEADER (shared) ════ */
.page-header {
    padding: 10rem 5rem 5rem;
    border-bottom: 1px solid var(--border);
}
.page-header-eye { margin-bottom: 1.5rem; }
.page-header h1 {
    font-family: var(--disp);
    font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 300; line-height: 1.1;
    color: var(--text); max-width: 700px;
}
.page-header h1 em { font-style: italic; color: var(--gold-light); }

/* ════ ABOUT ════ */
.bio-grid {
    display: grid; grid-template-columns: 340px 1fr;
    gap: 6rem; align-items: start;
}
.bio-photo {
    width: 100%; aspect-ratio: 3/4;
    background: var(--bg2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; overflow: hidden;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-photo span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.bio-name {
    font-family: var(--disp); font-size: 1.9rem; font-weight: 400;
    color: var(--text); margin-bottom: 0.2rem;
}
.bio-title {
    font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 2rem;
}
.stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
}
.stat { background: var(--bg); padding: 1.25rem; }
.stat-n {
    font-family: var(--disp); font-size: 2rem; font-weight: 300;
    color: var(--gold); line-height: 1; margin-bottom: 0.25rem;
}
.stat-l { font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bio-right h3 {
    font-family: var(--disp); font-size: 1.85rem; font-weight: 300;
    color: var(--text); margin-bottom: 1.5rem; line-height: 1.28;
}
.bio-right p { font-size: 0.94rem; color: var(--muted); line-height: 1.9; margin-bottom: 1.5rem; }

/* ════ CRITERIA ════ */
.criteria-intro { max-width: 680px; margin-bottom: 4rem; }
.criteria-intro h2 {
    font-family: var(--disp);
    font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 300; line-height: 1.28;
    color: var(--text); margin: 1.8rem 0 1.2rem;
}
.criteria-intro p { font-size: 0.935rem; color: var(--muted); line-height: 1.9; }
.criteria-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); margin-bottom: 4rem;
}
.crit { background: var(--bg); padding: 2.5rem; transition: background 0.2s; }
.crit:hover { background: var(--bg2); }
.crit-bar { width: 28px; height: 1px; background: var(--gold); margin-bottom: 1.5rem; }
.crit h4 {
    font-family: var(--disp); font-size: 1.3rem; font-weight: 400;
    color: var(--text); margin-bottom: 0.7rem;
}
.crit p { font-size: 0.875rem; color: var(--muted); line-height: 1.82; }
.ideal { background: var(--bg2); border: 1px solid var(--border); padding: 3rem; }
.ideal h3 {
    font-family: var(--disp); font-size: 1.8rem; font-weight: 300;
    color: var(--text); margin-bottom: 2rem;
}
.ideal-list {
    list-style: none; display: grid;
    grid-template-columns: 1fr 1fr; gap: 1rem 4rem;
}
.ideal-list li {
    font-size: 0.9rem; color: var(--muted);
    display: flex; align-items: flex-start; gap: 0.9rem; line-height: 1.65;
}
.ideal-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ════ CONTACT ════ */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.6fr;
    gap: 7rem; align-items: start;
}
.contact-left h2 {
    font-family: var(--disp); font-size: 2rem; font-weight: 300;
    color: var(--text); margin: 1.5rem 0 1rem; line-height: 1.3;
}
.contact-left p { font-size: 0.9rem; color: var(--muted); line-height: 1.9; margin-bottom: 2.5rem; }
.c-detail { margin-bottom: 1.4rem; }
.c-detail-label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.c-detail-val { font-size: 0.9rem; color: var(--text); }
.form-group { margin-bottom: 1.75rem; }
.form-group label {
    display: block; font-size: 0.62rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; background: transparent;
    border: none; border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    color: var(--text); font-family: var(--body); font-size: 0.9rem;
    outline: none; transition: border-color 0.2s; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--gold); }
.form-group textarea { resize: none; height: 110px; }
.form-group select option { background: #111114; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.submit-btn { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 0.72rem; border: none; }
#form-msg { display: none; color: var(--gold); font-size: 0.82rem; margin-top: 1rem; text-align: center; }

/* ════ PRIVACY ════ */
.policy-body { max-width: 760px; }
.policy-body h2 {
    font-family: var(--disp);
    font-size: 1.6rem; font-weight: 300;
    color: var(--text); margin: 3rem 0 0.8rem; line-height: 1.3;
}
.policy-body p { font-size: 0.92rem; color: var(--muted); line-height: 1.9; margin-bottom: 1rem; }
.policy-body ul { list-style: none; margin: 0.5rem 0 1rem; }
.policy-body ul li {
    font-size: 0.92rem; color: var(--muted); line-height: 1.8;
    padding-left: 1.5rem; position: relative; margin-bottom: 0.4rem;
}
.policy-body ul li::before { content: '—'; color: var(--gold); position: absolute; left: 0; }
.policy-highlight {
    border: 1px solid var(--gold);
    padding: 1.5rem 2rem; margin: 2rem 0;
    background: rgba(192,154,78,0.04);
}
.policy-highlight p { color: var(--text) !important; font-size: 0.9rem !important; margin: 0 !important; line-height: 1.8 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav { padding: 1.4rem 1.8rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    section, .hero { padding: 5rem 1.8rem; }
    .hero { padding: 7rem 1.8rem 4rem; }
    .divider { margin: 0 1.8rem; }
    .pillars { grid-template-columns: 1fr; }
    .pillar { border-right: none; }
    .bio-grid { grid-template-columns: 1fr; gap: 3rem; }
    .bio-photo { max-width: 300px; }
    .stats { max-width: 300px; }
    .criteria-grid { grid-template-columns: 1fr; }
    .ideal-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .page-header { padding: 7rem 1.8rem 3rem; }
    .cta-section { padding: 5rem 1.8rem; }
    footer { padding: 2rem 1.8rem; flex-direction: column; gap: 0.5rem; text-align: center; }
    .scroll-hint { left: 1.8rem; }
}
