/*
 * =====================================================================
 * GRACE.CSS — Redesigned Premium Matrimony System ("Vibrant & Elegant")
 *
 * Core Style: High-end, festive, romantic, and modern.
 * Colors: Deep crimson (#D81B60), romantic rose (#FF4B72), premium gold (#E5A93B),
 *         and dark midnight slate (#1E1B4B).
 * Typography: Outfit (display and titles), Plus Jakarta Sans (clean text),
 *             and Playfair Display (scripture/quotes).
 * =====================================================================
 */

:root {
    /* Color Palette */
    --primary:         #D81B60;
    --primary-light:   #FF4B72;
    --primary-gradient: linear-gradient(135deg, #FF4B72 0%, #D81B60 100%);
    --primary-glow:     rgba(216, 27, 96, 0.15);
    --gold:            #E5A93B;
    --gold-deep:       #B98D3E;
    --gold-gradient:   linear-gradient(135deg, #F3D07C 0%, #E5A93B 50%, #B98D3E 100%);
    --gold-glow:       rgba(229, 169, 59, 0.2);

    /* Neutral & Backgrounds */
    --paper:           #FFFDFD;
    --cream:           #FFF0F2;
    --blush-soft:      #FFE4E8;
    --white:           #FFFFFF;
    
    /* Typography & Contrast */
    --ink:             #2D2327;
    --ink-deep:        #1A1215;
    --midnight:        #1E1B4B;
    --muted:           #6E5D62;
    --faint:           #A39196;

    /* Borders & Lines */
    --line:            rgba(216, 27, 96, 0.1);
    --line-soft:       rgba(216, 27, 96, 0.05);
    --line-dark:       rgba(255, 255, 255, 0.12);
    --border-gold:     1px solid rgba(229, 169, 59, 0.3);

    /* Fonts */
    --display:         'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --body:            'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --verse-font:      'Playfair Display', Georgia, serif;

    /* Layout Shape settings */
    --radius-sm:       10px;
    --radius:          16px;
    --radius-lg:       24px;
    --ease:            cubic-bezier(0.16, 1, 0.3, 1);

    /* Soft Diffuse Shadows */
    --shadow-sm:       0 4px 15px rgba(216, 27, 96, 0.04);
    --shadow:          0 12px 35px -10px rgba(216, 27, 96, 0.12), 0 2px 8px rgba(216, 27, 96, 0.04);
    --shadow-lg:       0 30px 70px -15px rgba(216, 27, 96, 0.18), 0 10px 30px -10px rgba(229, 169, 59, 0.1);
    --shadow-glow:     0 0 25px rgba(216, 27, 96, 0.2);

    --container:       1220px;
}

/* ===================== Reset & Base ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection { background: var(--primary); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--display);
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ===================== Keyframe Animations ===================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}
@keyframes bg-glow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ===================== Utilities & Containers ===================== */
.g-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.g-section { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.bg-cream { background: var(--cream); }
.bg-blush { background: var(--blush-soft); }

.g-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--primary);
}
.g-eyebrow::before, .g-eyebrow.center::after {
    content: ''; width: 24px; height: 2px; background: var(--gold-gradient);
}
.g-eyebrow.center::before { content: ''; }

.g-verse {
    font-family: var(--verse-font); font-style: italic; font-size: 18px;
    color: var(--primary); line-height: 1.6;
}
.g-verse .ref { 
    font-family: var(--body); font-style: normal; font-size: 11px; 
    font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; 
    color: var(--gold-deep); margin-left: 8px; 
}

.g-head { max-width: 700px; margin-bottom: 40px; }
.g-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.g-head h2 { font-size: clamp(28px, 4.2vw, 46px); margin-top: 14px; font-weight: 800; color: var(--midnight); }
.g-head h2 em { font-style: italic; font-weight: 600; color: var(--primary); }
.g-head p { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 580px; }
.g-head.center p { margin-left: auto; margin-right: auto; }

.inv-border { position: relative; }
.inv-border::after {
    content: ''; position: absolute; inset: 6px; border: 1px solid rgba(229, 169, 59, 0.4);
    border-radius: inherit; pointer-events: none;
}

/* ===================== Interactive Buttons ===================== */
.g-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--display); font-size: 14.5px; font-weight: 700; letter-spacing: 0.03em;
    padding: 14px 28px; border-radius: 999px; text-transform: uppercase;
    transition: all 0.35s var(--ease);
    white-space: nowrap; box-shadow: var(--shadow-sm);
}
.g-btn i { transition: transform 0.35s var(--ease); font-size: 14px; }
.g-btn:hover { transform: translateY(-3px); }
.g-btn:hover i { transform: translateX(5px); }

.g-btn-wine { 
    background: var(--primary-gradient); color: var(--white); 
    box-shadow: 0 10px 25px -8px rgba(216, 27, 96, 0.5); 
}
.g-btn-wine:hover { 
    box-shadow: 0 15px 30px -5px rgba(216, 27, 96, 0.6), var(--shadow-glow); 
}

.g-btn-gold { 
    background: var(--gold-gradient); color: var(--midnight); 
    box-shadow: 0 10px 25px -8px rgba(229, 169, 59, 0.5); 
}
.g-btn-gold:hover { 
    box-shadow: 0 15px 30px -5px rgba(229, 169, 59, 0.6); 
}

.g-btn-ghost { 
    background: var(--white); color: var(--primary); 
    border: 1.5px solid rgba(216, 27, 96, 0.25); 
}
.g-btn-ghost:hover { 
    background: var(--cream); border-color: var(--primary); 
}
.g-btn-ghost.on-dark { 
    background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); 
}
.g-btn-ghost.on-dark:hover { 
    background: rgba(255,255,255,0.1); border-color: var(--white); 
}

.g-btn-block { width: 100%; }

.g-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--primary); padding-bottom: 2px; border-bottom: 2px solid var(--gold);
    transition: all 0.3s var(--ease);
}
.g-link:hover { gap: 10px; color: var(--primary-light); border-bottom-color: var(--primary-light); }

/* ===================== Top Bar ===================== */
.g-topbar { background: var(--midnight); color: rgba(255,255,255,0.8); font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.g-topbar .g-wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.g-topbar a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.8); }
.g-topbar a:hover { color: var(--gold); }
.g-topbar .tb-l { display: flex; gap: 20px; }
.g-topbar .tb-verse { font-family: var(--verse-font); font-style: italic; font-size: 13px; color: var(--gold); }

/* ===================== Header & Navigation ===================== */
.g-mast {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(216, 27, 96, 0.05);
    transition: transform 0.3s ease-in-out, background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.g-mast.g-mast-hidden {
    transform: translateY(-100%);
}
.g-mast.pinned { 
    background: rgba(255, 255, 255, 0.96); 
    box-shadow: 0 10px 30px -15px rgba(216, 27, 96, 0.08); 
    border-bottom-color: rgba(216, 27, 96, 0.1);
}
.g-mast .g-wrap { display: flex; align-items: center; justify-content: space-between; height: 100px; }

.g-brand { display: inline-flex; align-items: center; gap: 10px; }
.g-brand-mark {
    width: 44px; height: 48px; flex-shrink: 0;
    border: 2px solid var(--gold); border-radius: 20px 20px 6px 6px;
    display: grid; place-items: center; color: var(--primary);
    background: var(--white); box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease);
}
.g-brand:hover .g-brand-mark { transform: scale(1.05) rotate(-2deg); }
.g-brand-mark svg { width: 22px; height: 26px; }
.g-brand-name { font-family: var(--display); font-size: 23px; font-weight: 800; color: var(--midnight); letter-spacing: -0.02em; display: block; line-height: 1; }
.g-brand-sub { font-size: 9px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; display: block; }

.g-nav { display: flex; align-items: center; gap: 28px; }
.g-nav-links { display: flex; gap: 24px; align-items: center; }
.g-nav-links > li { position: relative; }
.g-nav-links > li > a {
    position: relative; font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--ink); padding: 8px 0; transition: color 0.3s;
}
.g-nav-links > li > a::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2.5px; border-radius: 2px;
    background: var(--primary-gradient); transition: width 0.3s var(--ease);
}
.g-nav-links > li > a:hover, .g-nav-links > li > a.active { color: var(--primary); }
.g-nav-links > li > a:hover::after, .g-nav-links > li > a.active::after { width: 100%; }

/* Dropdown Menu */
.g-sub {
    position: absolute; top: calc(100% + 10px); left: -12px; min-width: 190px;
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.08); border-radius: var(--radius);
    padding: 8px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all 0.3s var(--ease);
}
.g-nav-links > li:hover .g-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.g-sub li a {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px;
    font-size: 14px; font-weight: 600; color: var(--ink); transition: all 0.25s;
}
.g-sub li a i { color: var(--primary-light); font-size: 14px; }
.g-sub li a:hover { background: var(--cream); color: var(--primary); }

.g-nav-cta { display: flex; align-items: center; gap: 14px; }
.g-signin { font-family: var(--display); font-size: 14.5px; font-weight: 700; color: var(--midnight); }
.g-signin:hover { color: var(--primary); }

.g-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(216, 27, 96, 0.15); }
.g-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--midnight); margin: 3.5px auto; transition: all 0.3s var(--ease); }
.g-burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.g-burger.open span:nth-child(2) { opacity: 0; }
.g-burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile Menu */
.g-mmenu {
    position: fixed; inset: 0; z-index: 200; background: var(--paper);
    padding: 80px 24px 30px; transform: translateY(-100%); transition: transform 0.4s var(--ease);
    display: flex; flex-direction: column; overflow-y: auto;
}
.g-mmenu.open { transform: translateY(0); }
.g-mmenu .mm-close { position: absolute; top: 20px; right: 20px; font-size: 36px; color: var(--midnight); }
.g-mmenu > a { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--midnight); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.g-mmenu .mm-actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ===================== Hero Section ===================== */
.g-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); }
.g-hero-bloom {
    position: absolute; top: -20%; right: -10%; width: 650px; height: 650px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 75, 114, 0.16), transparent 70%); pointer-events: none;
    animation: bg-glow 15s ease-in-out infinite;
}
.g-hero::after {
    content: ''; position: absolute; bottom: -10%; left: -10%; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 169, 59, 0.1), transparent 70%); pointer-events: none;
    animation: bg-glow 18s ease-in-out 2s infinite alternate;
}
.g-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }

.g-hero-copy .g-verse { margin-bottom: 20px; display: block; font-weight: 500; }
.g-hero-copy h1 { font-size: clamp(38px, 5.5vw, 68px); font-weight: 800; letter-spacing: -0.03em; color: var(--midnight); }
.g-hero-copy h1 em { font-style: normal; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.g-hero-copy .lead { margin-top: 20px; font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); max-width: 520px; line-height: 1.6; }
.g-hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.g-hero-badges { margin-top: 40px; display: flex; gap: 24px; flex-wrap: wrap; }
.g-hero-badges .hb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.g-hero-badges .hb i { width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1.5px solid rgba(229,169,59,0.3); display: grid; place-items: center; color: var(--gold-deep); font-size: 14px; box-shadow: var(--shadow-sm); }

/* The Arch/Hero Frame */
.g-arch-frame { position: relative; max-width: 440px; margin-left: auto; }
.g-arch-frame .frame {
    border-radius: 30px; overflow: hidden;
    border: 8px solid var(--white);
    outline: 1.5px solid rgba(229, 169, 59, 0.4);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5; background: var(--blush-soft);
    position: relative; z-index: 2;
}
.g-arch-frame .frame img { width: 100%; height: 100%; object-fit: cover; }

.g-arch-art {
    width: 100%; height: 100%; position: relative;
    background: radial-gradient(circle at 50% 30%, #FFF0F2 0%, #FFE4E8 60%, #FFD0D8 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 20px; padding: 28px; text-align: center;
}
.g-arch-art::before {
    content: ''; position: absolute; inset: 12px; border-radius: 20px;
    border: 1px solid rgba(229, 169, 59, 0.35); pointer-events: none;
}
.g-arch-art svg { width: min(48%, 180px); height: auto; color: var(--primary); filter: drop-shadow(0 4px 10px rgba(216,27,96,0.15)); }
.g-arch-art .aa-verse { font-family: var(--verse-font); font-style: italic; font-size: 16px; color: var(--midnight); max-width: 260px; line-height: 1.6; }
.g-arch-art .aa-ref { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }

.g-arch-frame .fleur {
    position: absolute; z-index: 3; background: var(--white); border: 1px solid rgba(229, 169, 59, 0.35);
    border-radius: 999px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 8px; padding: 10px 18px;
    font-size: 13px; font-weight: 700; color: var(--midnight);
}
.g-arch-frame .fleur i { color: var(--primary-light); font-size: 12px; }
.g-arch-frame .fleur.f1 { top: 12%; left: -10%; animation: float 6s ease-in-out infinite; }
.g-arch-frame .fleur.f2 { bottom: 6%; right: -8%; animation: float 7s ease-in-out 1s infinite alternate; }

/* ===================== Search Console Band ===================== */
.g-console-band { position: relative; z-index: 5; margin-top: clamp(-30px, -3.5vw, -50px); }
.g-console {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(216, 27, 96, 0.1); 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); 
    padding: 24px 28px;
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.g-console-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.g-console-title h3 { font-size: 21px; font-weight: 800; color: var(--midnight); }
.g-console-title .g-verse { font-size: 14.5px; }

.g-console-fields { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1.1fr auto; gap: 12px; align-items: end; }
.g-field label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.g-select { position: relative; min-width: 0; }
.g-select select, .g-input {
    width: 100%; min-width: 0; font-family: var(--body); font-size: 14.5px; color: var(--ink);
    background: rgba(216, 27, 96, 0.02); border: 1.5px solid rgba(216, 27, 96, 0.08); border-radius: 10px;
    padding: 11px 30px 11px 12px; appearance: none; -webkit-appearance: none;
    transition: all 0.3s var(--ease); text-overflow: ellipsis; cursor: pointer;
}
.g-input { padding-right: 12px; cursor: text; }
.g-select select:focus, .g-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); background: var(--white); }
.g-select::after {
    content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px;
    border-right: 1.6px solid var(--primary); border-bottom: 1.6px solid var(--primary);
    transform: translateY(-68%) rotate(45deg); pointer-events: none;
}
.g-age-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.g-age-pair .sep { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.g-console .g-btn { height: 46px; border-radius: 10px; padding: 0 24px; font-size: 13.5px; }

/* ===================== Verse Divider Band ===================== */
.g-verseband { text-align: center; padding: clamp(40px, 5vw, 70px) 0; }
.g-verseband .quote {
    font-family: var(--verse-font); font-style: italic; font-size: clamp(20px, 2.4vw, 28px);
    color: var(--primary); max-width: 780px; margin: 0 auto; line-height: 1.55;
}
.g-verseband .ref { margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.g-verseband .orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; color: var(--gold); }
.g-verseband .orn::before, .g-verseband .orn::after { content: ''; width: 44px; height: 1px; background: rgba(229,169,59,0.3); }

/* ===================== Stats Section ===================== */
.g-stats { border: none; background: transparent; }
.g-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g-stat { 
    background: var(--white); border-radius: var(--radius);
    padding: 30px 20px; text-align: center; position: relative;
    border: 1px solid rgba(216, 27, 96, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.g-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-stat .num { font-family: var(--display); font-size: clamp(32px, 4vw, 50px); font-weight: 800; color: var(--primary); line-height: 1; }
.g-stat .num .a { color: var(--gold); }
.g-stat .lbl { margin-top: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ===================== Steps ("How it works") ===================== */
.g-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.g-step {
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius-lg);
    padding: 36px 28px; text-align: center; position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}
.g-step::after {
    content: ''; position: absolute; inset: 8px; border: 1px dashed rgba(216, 27, 96, 0.08);
    border-radius: inherit; opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.g-step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.g-step:hover::after { opacity: 1; }

.g-step .arch-ic {
    width: 68px; height: 68px; margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--cream); border: 1px solid rgba(229, 169, 59, 0.25);
    display: grid; place-items: center; color: var(--primary); font-size: 26px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}
.g-step:hover .arch-ic { background: var(--primary-gradient); color: var(--white); transform: scale(1.05); }
.g-step .n { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.g-step h3 { font-size: 20px; margin-top: 10px; font-weight: 800; color: var(--midnight); }
.g-step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ===================== Member Cards ===================== */
.g-members-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }

/* Desktop 4-column profile rows */
.g-members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; justify-content: center; }

.g-pcard {
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius-lg);
    padding: 12px 12px 24px; text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.45s var(--ease);
}
.g-pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.g-pcard .thumb {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 4 / 4.8; background: var(--blush-soft);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}
.g-pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.g-pcard:hover .thumb img { transform: scale(1.06); }

/* Fallback Vector Avatar inside Card Thumb */
.vector-avatar {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: var(--cream); overflow: hidden; transition: transform 0.6s var(--ease);
}
.g-pcard:hover .vector-avatar { transform: scale(1.06); }
.vector-avatar svg { width: 100%; height: 100%; display: block; }

.g-pcard .vbadge {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    background: rgba(26,18,21,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--gold);
    font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.g-pcard h4 { font-size: 19px; margin-top: 16px; font-weight: 800; color: var(--midnight); }
.g-pcard .meta { margin-top: 6px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 12px; padding: 0 10px; }
.g-pcard .meta i { color: var(--primary-light); font-size: 12px; margin-right: 4px; }
.g-pcard .g-link { margin-top: 14px; font-size: 11.5px; }

/* Invite Card */
.g-pcard.invite {
    background: linear-gradient(135deg, var(--midnight) 0%, #110E3B 100%);
    border: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 36px 24px; color: var(--white);
    position: relative; overflow: hidden;
}
.g-pcard.invite::before {
    content: ''; position: absolute; top: -30%; right: -20%; width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.25), transparent 70%); pointer-events: none;
}
.g-pcard.invite .imark {
    width: 60px; height: 60px; border-radius: 50%;
    border: 1.5px solid rgba(229,169,59,0.3); display: grid; place-items: center;
    color: var(--gold); font-size: 22px; margin-bottom: 18px;
    background: rgba(255,255,255,0.03);
    animation: float 5s ease-in-out infinite;
}
.g-pcard.invite h4 { color: var(--white); font-size: 21px; line-height: 1.25; }
.g-pcard.invite p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.g-pcard.invite a { margin-top: 18px; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.g-pcard.invite a:hover { gap: 10px; color: var(--white); }

/* ===================== Values Section (Navy/Indigo) ===================== */
.g-values { background: linear-gradient(135deg, var(--midnight) 0%, #0F0C31 100%); color: var(--white); overflow: hidden; position: relative; }
.g-values::before {
    content: ''; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(229,169,59,0.08), transparent 60%); pointer-events: none;
}
.g-values .g-eyebrow { color: var(--gold); }
.g-values .g-eyebrow::before { background: var(--gold-gradient); }
.g-values h2 { color: var(--white); }
.g-values h2 em { color: var(--gold); font-style: normal; }
.g-values .g-head p { color: rgba(255, 255, 255, 0.7); }

.g-values-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.g-value { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.g-value i { font-size: 26px; color: var(--gold); filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); }
.g-value h3 { color: var(--white); font-size: 19px; margin-top: 14px; font-weight: 800; }
.g-value p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }

/* ===================== Testimonial Section ===================== */
.g-tmony { text-align: center; max-width: 900px; margin: 0 auto; }
.g-tmony .mark { font-family: var(--verse-font); font-size: 80px; line-height: 0.3; color: var(--blush-soft); height: 35px; }
.g-tmony blockquote {
    font-family: var(--verse-font); font-style: italic; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.4;
    color: var(--midnight); max-width: 800px; margin: 15px auto 28px; font-weight: 400;
}
.g-tmony blockquote em { font-style: normal; font-weight: 600; color: var(--primary); }
.g-tmony .cite { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; }
.g-tmony .cite .who { font-weight: 800; color: var(--midnight); }
.g-tmony .cite .where { color: var(--faint); font-weight: 600; }
.g-tmony .cite::before, .g-tmony .cite::after { content: ''; width: 30px; height: 1px; background: rgba(229,169,59,0.3); }

/* ===================== CTA Band ===================== */
.g-cta-card {
    position: relative; overflow: hidden; text-align: center;
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid rgba(216, 27, 96, 0.08); box-shadow: var(--shadow-lg);
    padding: clamp(40px, 6vw, 76px) clamp(20px, 4vw, 70px);
}
.g-cta-card::before {
    content: ''; position: absolute; inset: 8px; border: 1px dashed rgba(229, 169, 59, 0.3);
    border-radius: 18px; pointer-events: none;
}
.g-cta-card .g-verse { display: block; margin-bottom: 14px; }
.g-cta-card h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; color: var(--midnight); }
.g-cta-card h2 em { font-style: normal; color: var(--primary); }
.g-cta-card p { margin: 14px auto 0; max-width: 500px; color: var(--muted); }
.g-cta-card .acts { margin-top: 28px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }

/* ===================== Inner Page Header ===================== */
.g-pagehead { position: relative; text-align: center; padding: clamp(45px, 6vw, 75px) 0; background: var(--cream); overflow: hidden; }
.g-pagehead::after {
    content: ''; position: absolute; left: 50%; bottom: -120px; transform: translateX(-50%);
    width: 400px; height: 220px; border-radius: 999px 999px 0 0;
    background: rgba(255, 75, 114, 0.06); pointer-events: none;
}
.g-pagehead h1 { font-size: clamp(30px, 4.2vw, 48px); position: relative; z-index: 2; font-weight: 800; color: var(--midnight); }
.g-pagehead .crumb { position: relative; z-index: 2; margin-top: 12px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 600; }
.g-pagehead .crumb a { color: var(--primary); font-weight: 700; }
.g-pagehead .crumb .sep { color: var(--gold); }
.g-pagehead .g-verse { position: relative; z-index: 2; display: block; margin-bottom: 10px; font-size: 15.5px; }

/* ===================== Search Filters ===================== */
.g-filterbar {
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.08); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 20px; margin-top: -36px; position: relative; z-index: 5;
}
.g-filterbar form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.g-filterbar .g-field { flex: 1 1 150px; min-width: 140px; }
.g-filterbar .g-field.age { flex: 1 1 180px; }
.g-filterbar .g-btn { flex: 0 0 auto; height: 45px; border-radius: 10px; font-size: 13.5px; padding: 0 20px; }

.g-results-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 36px 0 24px; flex-wrap: wrap; }
.g-results-head .count { font-family: var(--display); font-size: 20px; color: var(--midnight); font-weight: 700; }
.g-results-head .count b { color: var(--primary); }
.g-results-head .clear { font-size: 13px; font-weight: 800; color: var(--primary-light); display: inline-flex; gap: 5px; align-items: center; }
.g-results-head .clear:hover { color: var(--primary); }

/* Empty state */
.g-empty { text-align: center; padding: 50px 20px; }
.g-empty .arch-ic { 
    margin: 0 auto 20px; width: 68px; height: 68px; border-radius: 50%; 
    background: var(--cream); border: 1px solid rgba(229,169,59,0.3); 
    display: grid; place-items: center; font-size: 28px; color: var(--primary); 
    box-shadow: var(--shadow-sm);
}
.g-empty h3 { font-size: 24px; font-weight: 800; }
.g-empty p { margin-top: 8px; color: var(--muted); max-width: 400px; margin-left: auto; margin-right: auto; font-size: 14.5px; }
.g-empty .g-btn { margin-top: 20px; }

/* Pagination */
.g-pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.g-pager a, .g-pager span {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1.5px solid rgba(216, 27, 96, 0.1); font-size: 13.5px; font-weight: 700; color: var(--ink);
    transition: all 0.3s var(--ease);
}
.g-pager a:hover { border-color: var(--primary); color: var(--primary); background: var(--cream); }
.g-pager .on { background: var(--primary-gradient); border-color: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.g-pager .off { opacity: 0.35; pointer-events: none; }

/* ===================== Auth Pages / Forms ===================== */
.g-account { max-width: 480px; margin: 0 auto; }
.g-account-card {
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 44px 34px; position: relative;
    overflow: hidden;
}
.g-account-card::before {
    content: ''; position: absolute; inset: 8px; border: 1px dashed rgba(229, 169, 59, 0.3);
    border-radius: inherit; pointer-events: none;
}
.g-account-card > * { position: relative; z-index: 2; }
.g-account-card .amark {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
    background: var(--cream); border: 1px solid rgba(229, 169, 59, 0.3);
    display: grid; place-items: center; color: var(--primary); font-size: 22px;
    box-shadow: var(--shadow-sm);
    animation: heartbeat 3s infinite ease-in-out;
}
.g-account-card h1 { font-size: 26px; text-align: center; font-weight: 800; }
.g-account-card .sub { text-align: center; font-size: 14px; color: var(--muted); margin-top: 6px; margin-bottom: 24px; }

/* Brand logo standing in for the card heading */
.g-account-logo { display: block; text-align: center; margin: 0 auto 26px; }
.g-account-logo img {
    max-height: 74px; max-width: 210px; width: auto; height: auto;
    display: inline-block; object-fit: contain;
}

/* Password field with a show/hide toggle */
.g-pass { position: relative; }
.g-pass > input { padding-right: 46px !important; }
.g-pass-toggle {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
    width: 34px; height: 34px; padding: 0;
    display: grid; place-items: center;
    background: transparent; border: 0; border-radius: 8px;
    color: var(--faint); font-size: 17px; line-height: 1; cursor: pointer;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.g-pass-toggle:hover { color: var(--primary); background: rgba(216, 27, 96, 0.06); }
.g-pass-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; color: var(--primary); }
.g-pass-toggle[aria-pressed="true"] { color: var(--primary); }

.g-form-group { margin-bottom: 16px; }
.g-form-group label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }

.g-form-group input[type="text"], .g-form-group input[type="email"], .g-form-group input[type="password"],
.g-form-group input[type="tel"], .g-form-group input[type="date"], .g-form-group input[type="number"],
.g-form-group input[type="file"], .g-form-group select, .g-form-group textarea {
    width: 100%; font-family: var(--body); font-size: 14.5px; color: var(--ink);
    background: rgba(216, 27, 96, 0.01); border: 1.5px solid rgba(216, 27, 96, 0.08); border-radius: 10px;
    padding: 11px 14px; transition: all 0.25s var(--ease);
}
.g-form-group select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; }
.g-form-group input:focus, .g-form-group select:focus, .g-form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); background: var(--white);
}
.g-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.g-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.g-check input { width: 16px; height: 16px; accent-color: var(--primary); }
.g-form-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.g-form-foot a { color: var(--primary); font-weight: 800; }
.g-err { display: block; margin-top: 5px; font-size: 13px; color: #D32F2F; font-weight: 600; }
.g-hint { display: block; margin-top: 4px; font-size: 12.5px; color: var(--faint); }

/* Alerts */
.g-alert {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px;
    font-size: 14px; margin-bottom: 16px; border: 1px solid;
}
.g-alert i { font-size: 16px; margin-top: 1px; }
.g-alert .close { margin-left: auto; font-size: 18px; line-height: 1; color: inherit; opacity: 0.6; cursor: pointer; }
.g-alert.ok  { background: #E8F5E9; border-color: #C8E6C9; color: #2E7D32; }
.g-alert.bad { background: #FFEBEE; border-color: #FFCDD2; color: #C62828; }
.g-alert.warn{ background: #FFF8E1; border-color: #FFECB3; color: #F57F17; }

/* ===================== Wide Registration Form ===================== */
.g-regwrap { max-width: 900px; margin: 0 auto; }
.g-progress {
    display: flex; justify-content: space-between; gap: 6px;
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.05); border-radius: 50px;
    padding: 10px 16px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.g-progress a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; }
.g-progress .pi {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cream); border: 1.5px solid rgba(216, 27, 96, 0.08);
    display: grid; place-items: center; color: var(--muted); font-size: 14px; transition: all 0.3s var(--ease);
}
.g-progress a:hover .pi, .g-progress a.active .pi { background: var(--primary-gradient); border-color: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.g-progress .pl { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.g-progress a.active .pl { color: var(--primary); }

.g-formcard { background: var(--white); border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.g-formsec { padding: 32px clamp(20px, 3.5vw, 36px); border-bottom: 1px solid var(--line-soft); }
.g-formsec:last-of-type { border-bottom: none; }
.g-formsec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.g-formsec-head .arch-ic {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
    background: var(--cream); border: 1px solid rgba(229,169,59,0.3);
    display: grid; place-items: center; color: var(--primary); font-size: 19px;
    box-shadow: var(--shadow-sm);
}
.g-formsec-head h2 { font-size: 21px; font-weight: 800; }
.g-formsec-head p { font-size: 13px; color: var(--muted); margin-top: 1px; }

.g-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.g-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 18px; }
.g-span-2 { grid-column: 1 / -1; }
.g-radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.g-radio-pill { position: relative; }
.g-radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.g-radio-pill span {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 30px;
    border: 1.5px solid rgba(216, 27, 96, 0.08); font-size: 14px; font-weight: 700; color: var(--muted);
    transition: all 0.25s var(--ease); background: rgba(216,27,96,0.01);
}
.g-radio-pill input:checked + span { background: var(--primary-gradient); border-color: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.g-formcard .g-submitband { padding: 24px clamp(20px, 3.5vw, 36px); background: var(--cream); text-align: center; border-top: 1px solid var(--line-soft); }

/* ===================== Contact Page ===================== */
.g-contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.g-contact-card { background: var(--white); border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 36px); }
.g-contact-card h2 { font-size: 26px; font-weight: 800; }
.g-contact-card .sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }

.g-info-item {
    display: flex; gap: 14px; align-items: flex-start; background: var(--white);
    border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius); padding: 18px; margin-bottom: 12px;
    box-shadow: var(--shadow-sm); transition: all 0.35s var(--ease);
}
.g-info-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(216,27,96,0.15); }
.g-info-item .arch-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--cream); border: 1px solid rgba(229,169,59,0.3); display: grid; place-items: center; color: var(--primary); font-size: 17px; }
.g-info-item .t { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.g-info-item .v { margin-top: 2px; font-size: 14.5px; color: var(--ink); font-weight: 700; word-break: break-word; }
.g-info-item .v a:hover { color: var(--primary); }

/* ===================== Pricing Plans ===================== */
.g-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 290px)); gap: 24px; justify-content: center; margin-top: 48px; }
.g-plan {
    background: var(--white); border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius-lg);
    padding: 38px 24px 28px; text-align: center; position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}
.g-plan::after {
    content: ''; position: absolute; inset: 7px; border: 1.5px solid rgba(229,169,59,0.15); border-radius: inherit; pointer-events: none;
}
.g-plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(229, 169, 59, 0.4); }
.g-plan .pn { font-size: 12px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }
.g-plan .pr { font-family: var(--display); font-size: 42px; font-weight: 800; color: var(--midnight); margin-top: 10px; }
.g-plan .pr .cur { font-size: 20px; vertical-align: super; color: var(--primary); font-weight: 700; }
.g-plan .pv { font-size: 13.5px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.g-plan ul { margin: 20px 0; text-align: left; }
.g-plan ul li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; font-size: 14px; color: var(--ink); border-bottom: 1px dashed rgba(216, 27, 96, 0.06); }
.g-plan ul li:last-child { border-bottom: none; }
.g-plan ul li i { color: var(--gold-deep); margin-top: 2px; font-size: 13px; }
.g-plan .g-btn { height: 44px; font-size: 13px; }

/* ===================== Legal Pages ===================== */
.g-legal-card {
    max-width: 820px; margin: 0 auto; background: var(--white);
    border: 1px solid rgba(216, 27, 96, 0.05); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px);
}
.g-legal { color: var(--ink); line-height: 1.8; font-size: 15.5px; }
.g-legal h1, .g-legal h2, .g-legal h3, .g-legal h4 { color: var(--midnight); margin: 1.4em 0 0.5em; line-height: 1.25; }
.g-legal h2 { font-size: 1.45rem; font-weight: 800; border-bottom: 1.5px solid rgba(216,27,96,0.08); padding-bottom: 4px; }
.g-legal h3 { font-size: 1.15rem; font-weight: 700; }
.g-legal p { margin-bottom: 1rem; }
.g-legal ul, .g-legal ol { margin-bottom: 1rem; padding-left: 1.2rem; }
.g-legal ul { list-style: disc; } .g-legal ol { list-style: decimal; }
.g-legal li { margin-bottom: 0.35rem; }
.g-legal a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.g-legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 14.5px; }
.g-legal th, .g-legal td { border: 1px solid rgba(216, 27, 96, 0.1); padding: 8px 12px; text-align: left; }
.g-legal th { background: var(--cream); font-weight: 700; color: var(--midnight); }

/* ===================== Footer ===================== */
.g-foot { background: var(--midnight); color: rgba(255,255,255,0.7); padding: clamp(48px, 6vw, 76px) 0 0; border-top: 4px solid var(--gold); }
.g-foot .g-brand-name { color: var(--white); }
.g-foot .g-brand-mark { background: transparent; border-color: rgba(229,169,59,0.3); color: var(--gold); }
.g-foot-verse { font-family: var(--verse-font); font-style: italic; font-size: 16px; color: var(--gold); margin-top: 18px; max-width: 320px; line-height: 1.6; }
.g-foot-top { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.g-foot-social { margin-top: 20px; display: flex; gap: 8px; }
.g-foot-social a { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.15); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: all 0.3s var(--ease); }
.g-foot-social a:hover { background: var(--primary-gradient); border-color: var(--primary); color: var(--white); transform: translateY(-3px); }
.g-foot h5 { font-family: var(--display); font-size: 11.5px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.g-foot-col li { margin-bottom: 10px; }
.g-foot-col li a { font-size: 14px; transition: all 0.25s; }
.g-foot-col li a:hover { color: var(--white); padding-left: 4px; }
.g-foot-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; align-items: flex-start; }
.g-foot-contact li i { color: var(--gold); margin-top: 3px; }
.g-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 0; font-size: 13px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.02); }
.g-foot-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.g-foot-bottom .links a:hover { color: var(--gold); }

/* ===================== Reveal animations ===================== */
.gr { opacity: 0; transform: translateY(18px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.gr.in { opacity: 1; transform: none; }
.gr[data-d="1"] { transition-delay: 0.08s; } 
.gr[data-d="2"] { transition-delay: 0.16s; }
.gr[data-d="3"] { transition-delay: 0.24s; } 
.gr[data-d="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .gr { opacity: 1; transform: none; transition: none; }
    .g-arch-frame .fleur { animation: none; }
}

/* ===================== Responsive Style Adjustments ===================== */
@media (max-width: 1060px) {
    .g-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .g-hero-copy .lead { margin-left: auto; margin-right: auto; }
    .g-hero-actions { justify-content: center; }
    .g-hero-badges { justify-content: center; gap: 20px; }
    .g-arch-frame { margin: 0 auto; }
    .g-console-fields { grid-template-columns: 1fr 1fr; }
    .g-console-fields .g-btn { grid-column: 1 / -1; }
    .g-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .g-steps { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .g-values-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .g-foot-top { grid-template-columns: 1.2fr 1fr; gap: 30px; }
    .g-contact-grid { grid-template-columns: 1fr; }
    .g-grid-3 { grid-template-columns: 1fr 1fr; }
    .g-members-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 820px) {
    .g-wrap { padding: 0 16px; }
    .g-nav-links, .g-signin, .g-nav-cta .g-btn { display: none; }
    .g-burger { display: block; }
    .g-topbar .tb-l a:not(:first-child) { display: none; }
    .g-topbar .tb-verse { display: none; }
    .g-topbar .g-wrap { justify-content: center; }
    .g-members-head, .g-results-head { flex-direction: column; align-items: center; text-align: center; }
    .g-members-head .g-link, .g-results-head .clear { margin-top: 8px; }
    .g-account-card { padding: 36px 20px; }
    .g-grid-2, .g-grid-3 { grid-template-columns: 1fr; }
    .g-progress { flex-wrap: wrap; border-radius: 20px; }
    .g-progress a { flex: 1 1 30%; }
    .g-filterbar { margin-top: -24px; }
}

@media (max-width: 540px) {
    .g-stats-grid { grid-template-columns: 1fr; }
    .g-values-grid { grid-template-columns: 1fr; }
    .g-foot-top { grid-template-columns: 1fr; }
    .g-hero-badges { gap: 14px; }
    .g-console { padding: 18px 14px; }
    .g-console-fields { grid-template-columns: 1fr; }
    .g-members-grid { grid-template-columns: 1fr; }
}
