/* =============================================
   BEVERLY McDOWELL — Welcome / Intro Page
   ============================================= */

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

:root {
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --gold-dark:   #a07830;
    --cream:       #faf6ef;
    --warm-white:  #fffdf8;
    --charcoal:    #1e1a16;
    --dark-bg:     #1a1510;
    --mid-bg:      #2a2118;
    --text:        #3a3028;
    --text-light:  #7a6a58;
    --rose:        #9b2335;
    --plum:        #5a2d6b;
    --teal:        #1b5e5a;
    --font-serif:  'Playfair Display', Georgia, serif;
    --font-body:   'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Raleway', sans-serif;
    --radius:      12px;
    --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    background: var(--warm-white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* =============================================
   NAV
   ============================================= */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.logo-b {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}
.logo-m {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-dark);
}

.nav-signin {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.1rem;
    border: 1.5px solid var(--gold);
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
    transition: all var(--transition);
}
.nav-signin:hover {
    background: var(--gold);
    color: white;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 2rem 80px;
    background: linear-gradient(135deg, #fffdf8 0%, #faf3e4 50%, #f5ede0 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.18;
    animation: float 12s ease-in-out infinite;
}
.b1 { width: 500px; height: 500px; background: var(--gold); top: -100px; right: -100px; animation-delay: 0s; }
.b2 { width: 400px; height: 400px; background: var(--rose); bottom: -50px; left: -80px; animation-delay: -4s; }
.b3 { width: 300px; height: 300px; background: var(--plum); top: 40%; left: 30%; animation-delay: -8s; }
.b4 { width: 250px; height: 250px; background: var(--teal); bottom: 20%; right: 20%; animation-delay: -2s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-strokes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease both;
}
.eyebrow-brush { font-size: 1rem; }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title em {
    font-style: italic;
    color: var(--gold-dark);
    background: linear-gradient(135deg, var(--gold-dark), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.2s ease both;
}
.hd-line {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}
.hd-line:last-child {
    background: linear-gradient(to left, transparent, var(--gold));
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    animation: fadeUp 0.8s 0.3s ease both;
}
.hero-lead strong { color: var(--charcoal); font-weight: 600; }

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(160, 120, 48, 0.4);
    transition: all var(--transition);
    animation: fadeUp 0.8s 0.4s ease both;
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(160, 120, 48, 0.5);
}
.btn-arrow { font-style: normal; transition: transform var(--transition); }
.hero-btn:hover .btn-arrow { transform: translateX(4px); }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}
.hero-scroll span {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.4; transform: scaleY(0.7); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.section { padding: 100px 0; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

.inline-link {
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold-light);
    transition: color var(--transition);
}
.inline-link:hover { color: var(--rose); }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { background: var(--cream); }

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.how-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.how-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--rose));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition);
}
.how-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.how-card:hover::before { transform: scaleY(1); }

.how-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.how-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.how-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}
.how-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}
.how-card em { font-style: italic; color: var(--gold-dark); }

/* =============================================
   IDEAS SECTION
   ============================================= */
.ideas-section { background: white; }

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.idea-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    transition: all var(--transition);
}
.idea-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border-color: rgba(201, 168, 76, 0.4);
}

.idea-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #faf0d8 0%, #f5e8c8 100%);
    border-color: rgba(201, 168, 76, 0.4);
}

.idea-icon { font-size: 1.8rem; margin-bottom: 1rem; }

.idea-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.6rem;
}
.idea-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.idea-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}
.idea-tags span {
    background: rgba(201, 168, 76, 0.2);
    color: var(--gold-dark);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

/* =============================================
   GALLERY SHOWCASE SECTION
   ============================================= */
.gallery-showcase-section { background: var(--warm-white); padding-top: 100px; padding-bottom: 0; }
.gallery-showcase-section > .container { padding-bottom: 3rem; }

.gallery-demo-block { padding: 60px 0; }
.gallery-demo-dark { background: var(--dark-bg); }
.gallery-demo-dark .section-title,
.gallery-demo-dark .gallery-demo-label h3 { color: var(--cream); }
.gallery-demo-dark .section-intro,
.gallery-demo-dark .gallery-demo-label p { color: rgba(255,253,248,0.6); }
.gallery-demo-dark .demo-number { color: var(--gold); }

.gallery-demo-label {
    margin-bottom: 2.5rem;
}
.gallery-demo-label h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.6rem;
}
.gallery-demo-label p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.75;
}
.demo-number {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

/* -- MASONRY GALLERY -- */
.masonry-gallery {
    padding: 0 2rem;
    columns: 4;
    column-gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.04); }

.masonry-item.mi-tall { /* extra tall naturally from image ratio */ }
.masonry-item.mi-wide { column-span: none; } /* doesn't actually span in columns */

.masonry-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: white;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--transition);
}
.masonry-item:hover .masonry-overlay { opacity: 1; transform: translateY(0); }

/* -- ELEGANT GRID -- */
.elegant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.eg-large { grid-column: span 2; }

.eg-item { display: flex; flex-direction: column; }

.eg-image-wrap {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: var(--mid-bg);
}
.eg-large .eg-image-wrap { aspect-ratio: 16/9; }
.eg-image-wrap img { transition: transform 0.5s ease; }
.eg-item:hover .eg-image-wrap img { transform: scale(1.04); }

.eg-caption {
    padding: 1rem 0.25rem 0;
    border-top: 1px solid rgba(201, 168, 76, 0.25);
    margin-top: 0.8rem;
}
.eg-caption h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.2rem;
}
.eg-caption p {
    font-size: 0.875rem;
    color: rgba(255,253,248,0.45);
    font-style: italic;
}

/* -- SPOTLIGHT GALLERY -- */
.spotlight-gallery { display: flex; flex-direction: column; gap: 4rem; }

.spotlight-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.spotlight-reverse { grid-template-columns: 1fr 1.2fr; }
.spotlight-reverse .si-image { order: 2; }
.spotlight-reverse .si-text  { order: 1; }

.si-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.si-image img { transition: transform 0.6s ease; }
.spotlight-item:hover .si-image img { transform: scale(1.03); }

.si-category {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.si-text h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.si-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.si-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-light);
}
.si-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* =============================================
   PROMPTS SECTION
   ============================================= */
.prompts-section { background: var(--cream); }

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.prompt-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all var(--transition);
}
.prompt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    border-color: rgba(201, 168, 76, 0.4);
}
.pc-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.prompt-card p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.65;
    font-style: italic;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, #1a1510 0%, #2a1f10 50%, #1e1515 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.cb1 { width: 600px; height: 600px; background: var(--gold); top: -200px; left: -100px; }
.cb2 { width: 400px; height: 400px; background: var(--rose); bottom: -100px; right: -50px; }

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}
.cta-brush { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 253, 248, 0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 35px rgba(201, 168, 76, 0.4);
    transition: all var(--transition);
    margin-bottom: 1.5rem;
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 45px rgba(201, 168, 76, 0.55);
}
.cta-sub {
    font-size: 1rem;
    color: rgba(255, 253, 248, 0.4);
    font-style: italic;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--charcoal);
    text-align: center;
    padding: 3rem 2rem;
}
.footer-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
}
.footer-sub {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255,253,248,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,253,248,0.25);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .ideas-grid { grid-template-columns: repeat(2, 1fr); }
    .idea-featured { grid-column: span 2; }

    .masonry-gallery { columns: 2; }

    .elegant-grid { grid-template-columns: repeat(2, 1fr); }
    .eg-large { grid-column: span 2; }

    .spotlight-item,
    .spotlight-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .spotlight-reverse .si-image { order: 0; }
    .spotlight-reverse .si-text  { order: 0; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.8rem; }
    .section { padding: 70px 0; }
    .how-grid { grid-template-columns: 1fr; }
    .ideas-grid { grid-template-columns: 1fr; }
    .idea-featured { grid-column: span 1; }
    .masonry-gallery { columns: 2; }
    .elegant-grid { grid-template-columns: 1fr; }
    .eg-large { grid-column: span 1; }
    .prompts-grid { grid-template-columns: 1fr; }
}
