/**
 * Frolo.app - Luxury Homepage Components
 */

/* ---------- Typography helpers ---------- */
.frolo-display {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.frolo-eyebrow {
    display: inline-block;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    padding: 0 1rem;
}
.frolo-eyebrow::before,
.frolo-eyebrow::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}
.frolo-eyebrow::before { margin-right: 0.75rem; margin-left: -0.5rem; }
.frolo-eyebrow::after  { margin-left: 0.75rem; margin-right: -0.5rem; }
.frolo-eyebrow.dark { color: var(--dark-gold); }

.frolo-section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}
.frolo-section-title h2 {
    font-size: 3rem;
    margin: 0.5rem 0 1rem;
    color: var(--black);
}
.frolo-section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}
.frolo-section-title.light h2 { color: #fff; }
.frolo-section-title.light p { color: rgba(255,255,255,0.72); }

/* =======================================================
   HERO — Luxury photograph + dark overlay + gold grain
   ======================================================= */
.frolo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
    color: #fff;
    /* Unsplash luxury architecture, masked + darkened */
    background:
        linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.85) 100%),
        url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat,
        #000;
}
/* Golden spot lights */
.frolo-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(212,175,55,0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(212,175,55,0.14) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
}
/* Luxury grain + gold dust SVG overlay */
.frolo-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><defs><radialGradient id='g'><stop offset='0' stop-color='%23D4AF37' stop-opacity='0.6'/><stop offset='1' stop-color='%23D4AF37' stop-opacity='0'/></radialGradient></defs><g fill='url(%23g)'><circle cx='120' cy='180' r='2'/><circle cx='300' cy='60' r='1.5'/><circle cx='500' cy='220' r='2.5'/><circle cx='640' cy='120' r='1.8'/><circle cx='720' cy='360' r='2.2'/><circle cx='180' cy='440' r='2'/><circle cx='420' cy='520' r='1.5'/><circle cx='560' cy='620' r='2.5'/><circle cx='80' cy='680' r='1.8'/><circle cx='340' cy='740' r='2'/><circle cx='640' cy='720' r='1.5'/><circle cx='200' cy='300' r='1.2'/><circle cx='460' cy='380' r='1.5'/><circle cx='700' cy='480' r='1.3'/></g></svg>");
    background-size: 800px 800px;
    opacity: 0.8;
    mix-blend-mode: screen;
}
.frolo-hero-inner {
    position: relative;
    text-align: center;
    max-width: 880px;
    z-index: 2;
}
.frolo-hero-inner .frolo-display {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin: 0.5rem 0 1.5rem;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.frolo-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.frolo-hero .hero-buttons { gap: 1rem; }

/* Scroll indicator */
.frolo-hero::after {
    content: "";
    position: absolute;
    bottom: 2rem;
    left: 50%;
    width: 1px;
    height: 3rem;
    background: linear-gradient(180deg, transparent, var(--gold));
    animation: hero-pulse 2.4s ease-in-out infinite;
    z-index: 2;
}
@keyframes hero-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 8px); }
}

/* =======================================================
   SHOWCASE — soft ivory + constellation SVG texture
   ======================================================= */
.frolo-showcase {
    padding: 8rem 2rem;
    max-width: 1400px;
    position: relative;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><g fill='%23D4AF37' fill-opacity='0.09'><circle cx='60' cy='80' r='1.2'/><circle cx='220' cy='140' r='1'/><circle cx='400' cy='90' r='1.5'/><circle cx='540' cy='180' r='1'/><circle cx='120' cy='300' r='1.3'/><circle cx='320' cy='340' r='1'/><circle cx='480' cy='400' r='1.2'/><circle cx='80' cy='480' r='1'/><circle cx='280' cy='520' r='1.4'/><circle cx='460' cy='540' r='1'/></g></svg>"),
        radial-gradient(ellipse at top, #fbf8f3 0%, #ffffff 60%);
    background-size: 600px 600px, cover;
}
.frolo-two-col {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 2.5rem;
    align-items: start;
    z-index: 2;
}
.frolo-col-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
}
.frolo-col-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.frolo-col-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    margin: 0.5rem 0 0.75rem;
    color: var(--black);
    font-weight: 500;
}
.frolo-col-sub {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Divider */
.frolo-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 20vh;
    min-height: 400px;
}
.frolo-divider-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
    min-height: 80px;
}
.frolo-divider-mark {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    padding: 1rem 0;
    transform: rotate(90deg);
}

/* =======================================================
   PROFILE CARDS — gradient + silhouette glyph + initials
   ======================================================= */
.frolo-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.frolo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}
.frolo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.22), 0 0 0 1px rgba(212,175,55,0.3);
    border-color: var(--gold);
}
.frolo-card-img {
    position: relative;
    height: 320px;
    background: var(--grad, linear-gradient(135deg,#e0d0bd 0%,#a08265 100%));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}
.frolo-card.has-photo .frolo-card-img {
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%),
        var(--photo) center/cover no-repeat,
        var(--grad);
}
.frolo-card.has-photo.dark .frolo-card-img {
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 100%),
        var(--photo) center/cover no-repeat,
        var(--grad);
}
.frolo-card.has-photo .frolo-initials {
    position: absolute;
    bottom: 0.6rem;
    left: 1rem;
    font-size: 1.1rem;
    opacity: 0.85;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7);
    letter-spacing: 0.18em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}
/* Silhouette portrait backdrop */
.frolo-portrait {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center 120%;
    background-size: 80% auto;
    opacity: 0.28;
    pointer-events: none;
}
/* Feminine silhouette (shoulders + neck + hair flow) */
.frolo-portrait[data-glyph="she"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'><path fill='%23ffffff' d='M100 40c-26 0-42 22-42 48 0 22 10 38 18 44-4 4-10 10-18 14-28 14-46 28-46 60v34h176v-34c0-32-18-46-46-60-8-4-14-10-18-14 8-6 18-22 18-44 0-26-16-48-42-48zm-30 88c-8 10-12 16-24 22-8 4-12 10-10 18 2 10 10 14 20 10 10-4 16-12 20-20 4-10 4-20-6-30zm60 0c-10 10-10 20-6 30 4 8 10 16 20 20 10 4 18 0 20-10 2-8-2-14-10-18-12-6-16-12-24-22z'/></svg>");
}
/* Masculine silhouette (shoulders + shorter hair) */
.frolo-portrait[data-glyph="he"].dark,
.frolo-portrait[data-glyph="he"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'><path fill='%23D4AF37' d='M100 40c-28 0-44 22-44 48 0 16 4 30 12 38-6 4-14 10-24 16-24 14-40 30-40 60v34h192v-34c0-30-16-46-40-60-10-6-18-12-24-16 8-8 12-22 12-38 0-26-16-48-44-48zm-30 32c8-10 18-16 30-16s22 6 30 16c-4-2-10-4-16-4h-28c-6 0-12 2-16 4z'/></svg>");
    opacity: 0.22;
}
.frolo-portrait[data-glyph="he"] { opacity: 0.22; }
.frolo-portrait[data-glyph="she"] { opacity: 0.32; }

.frolo-initials {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}
.frolo-initials.gold { color: var(--gold); }
.frolo-verified {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}
.frolo-verified.gold { background: var(--gold); color: var(--black); }

.frolo-card-body { padding: 1.25rem 1.4rem 1.6rem; }
.frolo-card-body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
    font-weight: 500;
    color: var(--black);
}
.frolo-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.frolo-meta.gold { color: var(--gold); }
.frolo-bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    font-style: italic;
}
.frolo-card.dark { background: var(--black); border-color: rgba(212,175,55,0.2); }
.frolo-card.dark:hover { border-color: var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--gold); }
.frolo-card.dark .frolo-card-body h4 { color: #fff; }
.frolo-card.dark .frolo-bio { color: rgba(255,255,255,0.7); }

/* Age groups */
.frolo-age-group {
    margin-bottom: 2.75rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed rgba(212,175,55,0.25);
}
.frolo-age-group:last-child { border-bottom: none; }
.frolo-age-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.frolo-age-range {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--black);
}
.frolo-age-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
}
.frolo-age-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-style: italic;
}

/* =======================================================
   STORY — deep black with champagne bokeh SVG
   ======================================================= */
.frolo-story {
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'><defs><radialGradient id='b'><stop offset='0' stop-color='%23D4AF37' stop-opacity='0.55'/><stop offset='0.6' stop-color='%23D4AF37' stop-opacity='0.08'/><stop offset='1' stop-color='%23D4AF37' stop-opacity='0'/></radialGradient></defs><g fill='url(%23b)'><circle cx='150' cy='180' r='55'/><circle cx='320' cy='560' r='80'/><circle cx='600' cy='280' r='110'/><circle cx='840' cy='520' r='60'/><circle cx='1040' cy='160' r='75'/><circle cx='940' cy='720' r='48'/><circle cx='240' cy='720' r='42'/><circle cx='460' cy='120' r='34'/><circle cx='720' cy='660' r='50'/><circle cx='100' cy='420' r='28'/></g></svg>"),
        radial-gradient(ellipse at top, #1a1208 0%, #000 70%),
        #000;
    background-size: 1200px 800px, cover, cover;
    background-position: center, center, center;
    color: #fff;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}
.frolo-story::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212,175,55,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(212,175,55,0.08) 0%, transparent 40%);
    pointer-events: none;
}
.frolo-story-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}
.frolo-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 3rem;
}
.frolo-story-col {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
}
.frolo-story-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 0;
}
.frolo-story-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: rgba(212,175,55,0.35);
    display: block;
    line-height: 1;
}
.frolo-story-lede {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.frolo-story-list { list-style: none; padding: 0; margin: 0; }
.frolo-story-list li {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.75rem;
    color: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
}
.frolo-story-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: var(--gold);
    font-size: 0.7rem;
}
.frolo-story-list li:last-child { border-bottom: none; }

.frolo-story-bridge {
    background: linear-gradient(180deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.02) 100%);
    border-color: rgba(212,175,55,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.frolo-story-symbol {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(212,175,55,0.5);
}
.frolo-story-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 1rem;
    font-weight: 400;
}
.frolo-story-attrib {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}
.frolo-story-note {
    text-align: center;
    max-width: 760px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid rgba(212,175,55,0.2);
}
.frolo-story-note p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* =======================================================
   FINAL CTA — black w/ subtle luxury interior backdrop
   ======================================================= */
.frolo-cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.92) 100%),
        url('https://images.unsplash.com/photo-1470075801209-17f9ec0cada6?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat,
        #000;
    padding: 7rem 2rem;
    text-align: center;
    color: #fff;
    border-top: 1px solid rgba(212,175,55,0.25);
}
.frolo-cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.frolo-cta h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    color: #fff;
    margin: 0.5rem 0 1.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.frolo-cta p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* =======================================================
   Global type / navigation upgrade
   ======================================================= */
body { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; }

/* SVG logo treatment */
.logo.logo-svg {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    text-decoration: none;
    line-height: 0;
}
.logo.logo-svg .logo-img {
    height: 44px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease, transform 0.25s ease;
}
.logo.logo-svg:hover .logo-img {
    opacity: 0.92;
    transform: scale(1.03);
}
#header.scrolled .logo.logo-svg .logo-img { height: 38px; }

/* Header: make fully opaque/elegant while scrolled */
#header {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* =======================================================
   Responsive
   ======================================================= */
@media (max-width: 900px) {
    .frolo-two-col { grid-template-columns: 1fr; }
    .frolo-divider {
        flex-direction: row;
        position: static;
        min-height: auto;
        margin: 1rem 0;
    }
    .frolo-divider-line {
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        min-height: 1px;
        min-width: 80px;
    }
    .frolo-divider-mark { transform: none; padding: 0 1rem; }
    .frolo-story-grid { grid-template-columns: 1fr; }
    .frolo-story-bridge { order: 3; }
}
@media (max-width: 600px) {
    .frolo-profile-grid { grid-template-columns: 1fr; }
    .frolo-section-title h2 { font-size: 2.1rem; }
    .frolo-showcase { padding: 5rem 1.25rem; }
    .frolo-story { padding: 5rem 1.25rem; }
}
