/* ==============================================================================
   50 OVER 50: CELEBRATING WISDOM, GRACE & TRANSFORMATION
   Gary Wallage Photography — Project Showcase & Nomination Portal
   Strict Adherence to Gary Portfolio Editorial Architecture
   ============================================================================== */

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

/* Blacksword Custom Script Font (Exact GWP Parity) */
@font-face {
    font-family: 'Blacksword';
    src: url('../fonts/Blacksword.woff2') format('woff2'),
         url('../fonts/Blacksword.woff') format('woff'),
         url('../fonts/Blacksword.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Editorial Layout Tokens */
    --editorial-width: 80%;
    --site-max-width: none;
    --header-height: 84px;

    /* Palette Tokens (Gary Portfolio Champagne Gold & Warm Alabaster) */
    --brand-bg: #FAF7F5;
    --brand-surface: #FFFFFF;
    --brand-dark: #11110E;
    --brand-text: #2C2C28;
    --brand-muted: #6B6B65;
    --brand-accent: #B08D55;
    --brand-gold-light: #C5A059;
    --brand-gold-subtle: #F3ECE1;
    --brand-crimson: #630000;
    --brand-border: rgba(176, 141, 85, 0.28);

    /* Typography */
    --font-primary: 'Lato', sans-serif;
    --font-script: 'Blacksword', cursive;
    --font-serif: 'Cinzel', serif;

    /* Elevation & Shadows */
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);
    --shadow-deep: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 10px 30px rgba(176, 141, 85, 0.18);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    background-color: var(--brand-bg);
    color: var(--brand-text);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==============================================================================
   10-80-10 EDITORIAL MANDATE (STRICT PERCENTAGE CONTAINER)
   ============================================================================== */
.editorial-container {
    width: 80% !important;
    max-width: none !important;
    margin-left: 10% !important;
    margin-right: 10% !important;
    clear: both;
}

/* Header & Footer Full-Width Wrappers */
.full-bleed-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==============================================================================
   HEADER NAVIGATION (PORTFOLIO PARITY)
   ============================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--brand-gold-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 10%;
}

.header-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-script {
    font-family: var(--font-script);
    font-size: 2.1rem;
    line-height: 1.1;
    color: var(--brand-accent);
    padding-top: 4px;
    overflow: visible;
}

.brand-subtitle {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-top: -2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--brand-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--brand-accent);
    transition: var(--transition-smooth);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

.nav-cta-btn {
    background-color: var(--brand-accent) !important;
    color: #ffffff !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: 4px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--brand-gold-light);
    box-shadow: 0 4px 12px rgba(176, 141, 85, 0.25);
    transition: var(--transition-smooth) !important;
}

.nav-cta-btn:hover {
    background-color: var(--brand-dark) !important;
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-deep);
}

.nav-cta-btn::after {
    display: none !important;
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    position: relative;
    padding: 6rem 0 5rem 0;
    background: radial-gradient(circle at 50% 20%, rgba(197, 160, 89, 0.08) 0%, rgba(250, 247, 245, 1) 70%);
    border-bottom: 1px solid var(--brand-border);
    text-align: center;
}

.hero-curation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--brand-gold-subtle);
    border: 1px solid var(--brand-gold-light);
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
}

.hero-curation-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176, 141, 85, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(176, 141, 85, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176, 141, 85, 0); }
}

.hero-script-lead {
    font-family: var(--font-script);
    font-size: 3.4rem;
    color: var(--brand-accent);
    margin: 0;
    line-height: 1.15;
}

.hero-main-title {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-dark);
    margin: 0.4rem 0 1.5rem 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-statement {
    max-width: 860px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: #44443F;
}

.hero-statement strong {
    font-weight: 600;
    color: var(--brand-dark);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: var(--brand-dark);
    color: #ffffff;
    padding: 1rem 2.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--brand-dark);
    border-radius: 4px;
    box-shadow: var(--shadow-deep);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--brand-dark);
    padding: 1rem 2.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--brand-gold-light);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: #ffffff;
    border-color: var(--brand-dark);
    transform: translateY(-3px);
}

/* ==============================================================================
   SECTION HEADERS
   ============================================================================== */
.section-block {
    padding: 5.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-script {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--brand-accent);
    margin: 0;
    line-height: 1.2;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin: 0.2rem 0 0.8rem 0;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--brand-gold-light);
    margin: 0.8rem auto 1.2rem auto;
}

.section-subtext {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--brand-muted);
}

/* ==============================================================================
   THE 3-STEP JOURNEY (ACTION BLOCKS)
   ============================================================================== */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.journey-card {
    background-color: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
    border-color: var(--brand-accent);
}

.journey-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--brand-gold-light);
    background-color: var(--brand-gold-subtle);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
}

.journey-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--brand-dark);
    margin: 0 0 1rem 0;
}

.journey-card p {
    font-size: 0.95rem;
    color: #55554F;
    line-height: 1.7;
    margin: 0;
}

/* ==============================================================================
   PORTFOLIO NEVER-CROP GALLERY & SPOTLIGHT
   ============================================================================== */
.never-crop-frame {
    background: #ffffff;
    padding: 14px;
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-deep);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.never-crop-image {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    display: block;
    border-radius: 2px;
}

.gallery-trio {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.gallery-trio-stacked {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ==============================================================================
   THE INVESTMENT PLAQUE (SIGNATURE GWP COMPONENT)
   ============================================================================== */
.investment-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.gw-investment-plaque {
    background: linear-gradient(145deg, #FFFFFF 0%, #FAF7F5 100%);
    border: 2px solid var(--brand-gold-light);
    border-radius: 6px;
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-deep);
    text-align: center;
    position: relative;
}

.plaque-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.plaque-subtitle {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 0.5rem;
}

.plaque-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 1rem 0;
}

.plaque-price-row {
    margin: 1.5rem 0;
}

.plaque-price {
    font-family: var(--font-serif);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--brand-accent);
    line-height: 1;
}

.plaque-savings {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-crimson);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

.plaque-inclusions {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 540px;
}

.plaque-inclusions li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(176, 141, 85, 0.15);
    font-size: 1rem;
    color: #3C3C37;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plaque-inclusions li::before {
    content: "✦";
    color: var(--brand-gold-light);
    font-size: 0.9rem;
}

.plaque-inclusions li:last-child {
    border-bottom: none;
}

/* ==============================================================================
   APPLICATION & NOMINATION FORM
   ============================================================================== */
.nomination-box {
    background-color: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 6px;
    padding: 3.5rem;
    box-shadow: var(--shadow-deep);
    max-width: 820px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    background-color: #FAF9F7;
    border: 1px solid #D8D4CC;
    border-radius: 4px;
    transition: var(--transition-smooth);
    color: var(--brand-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(176, 141, 85, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    background-color: var(--brand-accent);
    color: #ffffff;
    border: 1px solid var(--brand-gold-light);
    padding: 1.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.form-submit-btn:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-deep);
}

.form-status-msg {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-size: 0.95rem;
    text-align: center;
}

.form-status-msg.success {
    display: block;
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-status-msg.error {
    display: block;
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* ==============================================================================
   SOCIAL PRESENCE & AGENT STRIP
   ============================================================================== */
.social-strip {
    background-color: var(--brand-dark);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.social-strip h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.social-strip p {
    color: #C5C5BF;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.social-pill:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-gold-light);
    transform: translateY(-2px);
}

/* ==============================================================================
   UNIVERSAL FOOTER (EXACT CLUSTER PARITY)
   ============================================================================== */
.site-footer {
    background-color: #0A0A08;
    color: #9C9C96;
    padding: 4.5rem 0 2.5rem 0;
    border-top: 2px solid var(--brand-accent);
    font-size: 0.9rem;
}

.footer-inner {
    width: 80%;
    margin: 0 10%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 1.2rem 0;
}

.footer-address {
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #9C9C96;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--brand-gold-light);
}

.footer-bottom {
    width: 80%;
    margin: 0 10%;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .editorial-container, .header-inner, .footer-inner, .footer-bottom {
        width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
    }
    .journey-grid {
        grid-template-columns: 1fr;
    }
    .gallery-trio {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-main-title {
        font-size: 2.4rem;
    }
    .hero-script-lead {
        font-size: 2.6rem;
    }
}
