/* =============================================
   SelectMatch — Homepage Stylesheet
   Aesthetic: Luxury editorial, dark & gold,
   high-end matchmaking brand
   Cormorant Garamond display / Raleway body
============================================= */

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

/* ---- Root overrides for home ---- */
.home-body {
    --gold:        #c9a96e;
    --gold-light:  #e8d5a3;
    --gold-dark:   #a07840;
    --dark:        #0e0b08;
    --dark2:       #1a1410;
    --dark3:       #241e17;
    --cream:       #f8f3ec;
    --cream2:      #f0e9df;
    --text-dark:   #1a1410;
    --text-cream:  #e8ddd0;
    background: var(--dark);
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

/* =============================================
   NAV
============================================= */
.sm-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(14,11,8,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,169,110,0.15);
}
.sm-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.sm-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}
.sm-brand-mark {
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1;
}
.sm-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
}
.sm-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.sm-nav-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
.sm-nav-links a:hover { color: var(--gold); }
.sm-nav-cta {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 7px 18px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s !important;
}
.sm-nav-cta:hover { background: var(--gold) !important; color: var(--dark) !important; }

/* Hamburger */
.sm-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.sm-hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s;
    transform-origin: center;
}
.sm-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sm-hamburger.open span:nth-child(2) { opacity: 0; }
.sm-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.sm-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(201,169,110,0.12);
    gap: 0;
}
.sm-mobile-menu.open { display: flex; }
.sm-mobile-menu a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s;
}
.sm-mobile-menu a:last-child { border-bottom: none; }
.sm-mobile-menu a:hover { color: var(--gold); }

@media (max-width: 768px) {
    .sm-nav-links { display: none; }
    .sm-hamburger { display: flex; }
}

/* =============================================
   HERO
============================================= */
.sm-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.sm-hero-image {
    position: absolute;
    inset: 0;
}
.sm-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sm-hero-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1008 0%, #0e0b08 40%, #1a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: rgba(201,169,110,0.5);
    text-align: center;
    padding: 24px;
    border: 1px dashed rgba(201,169,110,0.25);
    border-radius: 4px;
    max-width: 380px;
}
.sm-placeholder-inner svg { opacity: 0.4; }
.sm-placeholder-inner span { font-size: 0.82rem; line-height: 1.6; }
.sm-placeholder-inner small { font-size: 0.72rem; opacity: 0.7; }
.sm-placeholder-wide { max-width: 500px; }

.sm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(14,11,8,0.85) 0%,
        rgba(14,11,8,0.55) 50%,
        rgba(14,11,8,0.25) 100%
    );
}
.sm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 80px;
    width: 100%;
}
.sm-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sm-hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.sm-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.05;
    letter-spacing: 3px;
    margin-bottom: 24px;
    max-width: 700px;
}
.sm-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}
.sm-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.sm-hero-note {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
}

/* Scroll hint */
.sm-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}
.sm-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* =============================================
   BUTTONS
============================================= */
.sm-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 2px;
    text-align: center;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.sm-btn-gold {
    background: var(--gold);
    color: var(--dark);
}
.sm-btn-gold:hover {
    background: var(--gold-light);
    color: var(--dark);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}
.sm-btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.sm-btn-ghost-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}
.sm-btn-dark {
    background: var(--dark);
    color: var(--gold);
    border: 1px solid var(--gold);
}
.sm-btn-dark:hover {
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
}
.sm-btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.sm-btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
}
.sm-btn-ghost-dark {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
}
.sm-btn-ghost-dark:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    text-decoration: none;
}
.w-100 { width: 100%; display: block; }

/* =============================================
   BANNER ZONE
============================================= */
.sm-banner-zone { background: var(--dark2); }
.sm-banner-placeholder {
    position: relative;
    width: 100%;
    height: 100px;
    background: #1a1610;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sm-banner-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201,169,110,0.4);
    font-size: 0.78rem;
    text-align: center;
    padding: 16px;
    border: 1px dashed rgba(201,169,110,0.2);
    margin: 8px;
    border-radius: 2px;
}

/* =============================================
   SECTIONS
============================================= */
.sm-section { padding: 80px 0; }
.sm-section-light { background: var(--cream); }
.sm-section-dark  { background: var(--dark2); }
.sm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.sm-container-sm { max-width: 800px; }
.sm-section-header {
    text-align: center;
    margin-bottom: 56px;
}
.sm-eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 14px;
}
.sm-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.sm-section-sub {
    font-size: 0.95rem;
    color: #7a6a58;
    font-weight: 300;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   HOW IT WORKS STEPS
============================================= */
.sm-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.sm-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}
.sm-step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(160,120,64,0.18);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.sm-step-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}
.sm-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.sm-step p {
    font-size: 0.85rem;
    color: #7a6a58;
    line-height: 1.7;
    font-weight: 300;
}
.sm-step-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold-dark), transparent);
    flex-shrink: 0;
    margin-top: 48px;
    opacity: 0.4;
}
@media (max-width: 700px) {
    .sm-steps { flex-direction: column; align-items: center; gap: 32px; }
    .sm-step  { max-width: 320px; padding: 0 16px; }
    .sm-step-divider { width: 60px; height: 1px; margin: 0; }
}

/* =============================================
   SPLIT SECTION
============================================= */
.sm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}
.sm-split-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: var(--dark3);
}
.sm-split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sm-split-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1008, #0e0b08);
}
.sm-split-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(201,169,110,0.15);
    border: 1px solid rgba(201,169,110,0.4);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 2px;
}
.sm-split-content {
    background: var(--cream);
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.sm-split-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.sm-split-content p {
    font-size: 0.9rem;
    color: #6a5a4a;
    line-height: 1.8;
    font-weight: 300;
}
.sm-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sm-feature-list li {
    font-size: 0.83rem;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.3px;
}
@media (max-width: 768px) {
    .sm-split { grid-template-columns: 1fr; }
    .sm-split-image { min-height: 300px; }
    .sm-split-content { padding: 40px 24px; }
}

/* =============================================
   ATMOSPHERE WIDE IMAGE
============================================= */
.sm-atmosphere {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--dark3);
}
.sm-atmosphere-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.sm-atmosphere-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #120e08 0%, #1a1005 100%);
}
.sm-atmosphere-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,11,8,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.sm-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 3.5vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.88);
    text-align: center;
    max-width: 720px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    border-left: 2px solid var(--gold);
    padding-left: 28px;
    text-align: left;
}
@media (max-width: 600px) {
    .sm-atmosphere { height: 280px; }
    .sm-quote { font-size: 1.1rem; padding-left: 16px; }
}

/* =============================================
   JOIN CARDS
============================================= */
.sm-join-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 640px) {
    .sm-join-cards { grid-template-columns: 1fr; }
}
.sm-join-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 4px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s, transform 0.3s;
}
.sm-join-card:hover {
    border-color: rgba(201,169,110,0.5);
    transform: translateY(-2px);
}
.sm-join-card-alt {
    background: rgba(201,169,110,0.05);
}
.sm-join-card-icon {
    font-size: 2.2rem;
}
.sm-join-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.5px;
}
.sm-join-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-weight: 300;
}
.sm-or {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sm-join-note {
    font-size: 0.72rem !important;
    color: rgba(255,255,255,0.25) !important;
    letter-spacing: 0.5px;
}

/* =============================================
   BOTTOM VISUAL
============================================= */
.sm-bottom-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--dark3);
}
.sm-bottom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}
.sm-bottom-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0e0b08 0%, #1a1208 100%);
}

/* =============================================
   FOOTER
============================================= */
.sm-footer {
    background: var(--dark);
    border-top: 1px solid rgba(201,169,110,0.12);
    padding: 56px 0 0;
}
.sm-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 768px) {
    .sm-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .sm-footer-top { grid-template-columns: 1fr; }
}
.sm-footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.sm-footer-tagline {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 300;
}
.sm-footer-url {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 1px;
}
.sm-footer-col-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.sm-footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sm-footer-links-col a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s;
}
.sm-footer-links-col a:hover { color: var(--gold); }
.sm-footer-bottom {
    text-align: center;
    padding: 20px 24px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

/* =============================================
   SCROLL ANIMATIONS
============================================= */
.sm-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.sm-animate.sm-visible {
    opacity: 1;
    transform: translateY(0);
}
.sm-step:nth-child(1) { transition-delay: 0s; }
.sm-step:nth-child(3) { transition-delay: 0.1s; }
.sm-step:nth-child(5) { transition-delay: 0.2s; }
.sm-step:nth-child(7) { transition-delay: 0.3s; }
