@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap");

:root{
    --bg:#0b0b0a;
    --bg-2:#11110f;
    --surface:#151512;
    --surface-2:#1b1a16;
    --cream:#f2eee5;
    --text:#f4efe6;
    --muted:#b8b0a2;
    --muted-2:#8f8779;
    --line:#2d291f;
    --line-soft:rgba(193,153,80,.18);
    --gold:#c19a55;
    --gold-2:#d3b06e;
    --gold-deep:#8d692f;
    --shadow:0 30px 90px rgba(0,0,0,.36);
    --container:1280px;
    --radius:26px;
}

:root[data-theme="light"]{
    --bg:#f3efe7;
    --bg-2:#ece6da;
    --surface:#fffdf9;
    --surface-2:#f7f2e9;
    --cream:#11110f;
    --text:#171613;
    --muted:#6f695e;
    --muted-2:#8b8376;
    --line:#ddd3c3;
    --line-soft:rgba(141,105,47,.18);
    --gold:#9b7335;
    --gold-2:#b1894c;
    --gold-deep:#795925;
    --shadow:0 30px 90px rgba(63,51,30,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    background:
        radial-gradient(circle at 85% -5%, rgba(193,154,85,.10), transparent 28%),
        var(--bg);
    color:var(--text);
    font-size:16px;
    line-height:1.68;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.site-shell{width:min(var(--container),calc(100% - 48px));margin:0 auto}
.site-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--gold-2);
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.19em;
    text-transform:uppercase;
}
.site-kicker::before{content:"";width:34px;height:1px;background:var(--gold)}
.site-title{
    font-family:"Libre Baskerville",Georgia,serif;
    font-weight:400;
    line-height:1.05;
    letter-spacing:-.03em;
    margin:0;
}

/* Header */
.v4-header{
    position:sticky;
    top:0;
    z-index:100;
    border-bottom:1px solid var(--line-soft);
    background:color-mix(in srgb,var(--bg) 92%,transparent);
    backdrop-filter:blur(16px);
}
.v4-header-inner{
    width:min(1420px,calc(100% - 34px));
    margin:0 auto;
    min-height:88px;
    display:grid;
    grid-template-columns:280px 1fr auto;
    align-items:center;
    gap:22px;
}
.v4-brand{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}
.v4-brand-logo{
    width:72px;
    height:60px;
    padding:5px;
    border:1px solid var(--line-soft);
    border-radius:14px;
    background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
    display:grid;
    place-items:center;
    overflow:hidden;
}
.v4-brand-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.v4-brand-copy{min-width:0}
.v4-brand-name{
    font-family:"Libre Baskerville",Georgia,serif;
    font-size:1.18rem;
    line-height:1;
    color:var(--text);
    white-space:nowrap;
}
.v4-brand-sub{
    margin-top:5px;
    color:var(--muted-2);
    font-size:.68rem;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.v4-nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:2px;
}
.v4-nav-group{position:relative}
.v4-nav-link,.v4-nav-button{
    min-height:46px;
    display:flex;
    align-items:center;
    gap:6px;
    padding:0 13px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:var(--muted);
    font-size:.88rem;
    font-weight:600;
    cursor:pointer;
    transition:.2s ease;
}
.v4-nav-link:hover,.v4-nav-button:hover,.v4-nav-link.active,.v4-nav-button.active{
    color:var(--text);
    background:rgba(193,154,85,.08);
}
.v4-nav-link.active,.v4-nav-button.active{box-shadow:inset 0 -2px 0 var(--gold)}
.v4-submenu{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    min-width:250px;
    display:none;
    padding:10px;
    border:1px solid var(--line-soft);
    border-radius:18px;
    background:var(--surface);
    box-shadow:var(--shadow);
}
.v4-nav-group:hover .v4-submenu,.v4-nav-group:focus-within .v4-submenu{display:grid}
.v4-submenu a{
    padding:11px 12px;
    border-radius:10px;
    color:var(--muted);
    font-size:.86rem;
}
.v4-submenu a:hover{background:rgba(193,154,85,.08);color:var(--text)}
.v4-actions{display:flex;gap:10px;align-items:center}
.v4-icon-btn{
    width:42px;height:42px;border-radius:12px;border:1px solid var(--line-soft);
    background:var(--surface);color:var(--muted);cursor:pointer;
}
.v4-portal-btn{
    min-height:44px;padding:0 17px;border-radius:12px;border:1px solid rgba(193,154,85,.42);
    color:var(--gold-2);font-size:.84rem;font-weight:700;
    display:inline-flex;align-items:center;justify-content:center;
}
.v4-portal-btn:hover{background:var(--gold);color:#17120a}
.v4-menu-toggle{display:none}

/* Hero */
.v4-hero{
    position:relative;
    overflow:hidden;
    min-height:700px;
    display:grid;
    align-items:center;
    border-bottom:1px solid var(--line-soft);
}
.v4-hero::before{
    content:"";
    position:absolute;inset:0;
    background:
        linear-gradient(to right,rgba(193,154,85,.035) 1px,transparent 1px),
        linear-gradient(to bottom,rgba(193,154,85,.025) 1px,transparent 1px);
    background-size:72px 72px;
    pointer-events:none;
}
.v4-hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:70px;
    align-items:center;
    padding:72px 0;
}
.v4-hero h1{
    max-width:900px;
    margin:14px 0 22px;
    font-size:clamp(3.2rem,5.4vw,5.8rem);
}
.v4-hero-copy>p{
    max-width:760px;
    margin:0;
    color:var(--muted);
    font-size:1.08rem;
    line-height:1.85;
}
.v4-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.v4-btn{
    min-height:50px;padding:0 21px;border-radius:13px;
    display:inline-flex;align-items:center;justify-content:center;
    font-size:.9rem;font-weight:700;border:1px solid transparent;
}
.v4-btn-primary{background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#17120a}
.v4-btn-outline{border-color:var(--line-soft);color:var(--text);background:rgba(255,255,255,.02)}
.v4-btn-outline:hover{border-color:rgba(193,154,85,.45);background:rgba(193,154,85,.08)}
.v4-hero-meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-top:32px;
}
.v4-meta-card{
    min-height:104px;
    padding:16px;
    border:1px solid var(--line-soft);
    border-radius:16px;
    background:rgba(255,255,255,.018);
}
.v4-meta-card strong{
    display:block;
    color:var(--gold-2);
    font-family:"Libre Baskerville",Georgia,serif;
    font-size:1.05rem;
    font-weight:400;
}
.v4-meta-card span{display:block;margin-top:7px;color:var(--muted);font-size:.82rem;line-height:1.45}
.v4-visual{position:relative;min-height:540px}
.v4-photo{
    position:absolute;
    right:0;top:0;
    width:min(430px,88%);
    padding:14px;
    border:1px solid var(--line-soft);
    border-radius:24px;
    background:var(--surface);
    box-shadow:var(--shadow);
}
.v4-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 18%;border-radius:18px}
.v4-photo-caption{padding:16px 4px 2px}
.v4-photo-caption span{display:block;color:var(--gold-2);font-size:.7rem;font-weight:800;letter-spacing:.15em}
.v4-photo-caption strong{display:block;margin-top:6px;font-family:"Libre Baskerville",Georgia,serif;font-size:1.22rem;font-weight:400}
.v4-art-card{
    position:absolute;
    left:0;bottom:14px;
    width:205px;
    min-height:160px;
    padding:18px;
    display:grid;place-items:center;
    border:1px solid rgba(193,154,85,.30);
    border-radius:20px;
    background:color-mix(in srgb,var(--surface) 94%,transparent);
}
.v4-art-card img{width:100%;max-height:120px}

/* Global sections */
.v4-strip{
    border-block:1px solid var(--line-soft);
    background:var(--bg-2);
    overflow:hidden;
}
.v4-strip-track{
    display:flex;gap:42px;width:max-content;padding:14px 0;
    animation:v4slide 28s linear infinite;
}
.v4-strip-track span{white-space:nowrap;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.14em}
.v4-strip-track span::before{content:"◆";color:var(--gold);margin-right:12px;font-size:.65rem}
@keyframes v4slide{to{transform:translateX(-50%)}}

.v4-section{padding:88px 0}
.v4-section-sm{padding:62px 0}
.v4-dark{background:var(--bg-2)}
.v4-head{
    display:grid;
    grid-template-columns:.78fr 1.22fr;
    gap:72px;
    align-items:start;
    margin-bottom:38px;
}
.v4-head h2{margin:8px 0 0;font-size:clamp(2.2rem,3.7vw,4rem)}
.v4-head p{margin:0;color:var(--muted);line-height:1.85}
.v4-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.v4-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.v4-card{
    position:relative;overflow:hidden;
    min-height:260px;padding:26px;
    border:1px solid var(--line-soft);
    border-radius:22px;
    background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.01)),var(--surface);
}
.v4-card::after{
    content:"";position:absolute;right:-40px;bottom:-40px;width:120px;height:120px;border:1px solid rgba(193,154,85,.20);border-radius:50%;
}
.v4-card-index{color:var(--gold);font-family:"Libre Baskerville",Georgia,serif;font-size:1.5rem}
.v4-card h3{margin:24px 0 10px;font-family:"Libre Baskerville",Georgia,serif;font-size:1.35rem;font-weight:400}
.v4-card p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.75}
.v4-card a{display:inline-block;margin-top:18px;color:var(--gold-2);font-size:.8rem;font-weight:700}

.v4-split{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.v4-split h2{margin:8px 0 18px;font-size:clamp(2.2rem,3.6vw,3.9rem)}
.v4-split p{color:var(--muted);line-height:1.85}
.v4-art-panel{
    min-height:430px;display:grid;place-items:center;position:relative;overflow:hidden;
    border:1px solid var(--line-soft);border-radius:26px;background:var(--surface);
}
.v4-art-panel::before{content:"";position:absolute;width:390px;height:390px;border:1px solid rgba(193,154,85,.18);border-radius:50%}
.v4-art-panel::after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(193,154,85,.12);border-radius:50%}
.v4-art-panel img{position:relative;z-index:2;width:58%;max-height:290px}
.v4-photo-panel{padding:14px;border:1px solid var(--line-soft);border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}
.v4-photo-panel img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 18%;border-radius:18px}

.v4-feature-list{border-top:1px solid var(--line-soft)}
.v4-feature{
    display:grid;grid-template-columns:70px 1fr auto;gap:20px;align-items:start;
    padding:24px 0;border-bottom:1px solid var(--line-soft)
}
.v4-feature-num{color:var(--gold);font-family:"Libre Baskerville",Georgia,serif;font-size:1.25rem}
.v4-feature h3{margin:0 0 7px;font-size:1rem}
.v4-feature p{margin:0;color:var(--muted);font-size:.9rem}
.v4-tag{padding:6px 9px;border:1px solid var(--line-soft);border-radius:999px;color:var(--muted-2);font-size:.68rem;font-weight:800}

.v4-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line-soft);border-radius:24px;overflow:hidden}
.v4-step{min-height:250px;padding:26px;background:var(--surface);border-right:1px solid var(--line-soft)}
.v4-step:last-child{border-right:0}
.v4-step strong{color:var(--gold);font-family:"Libre Baskerville",Georgia,serif;font-size:1.6rem;font-weight:400}
.v4-step h3{margin:28px 0 9px;font-size:.95rem}
.v4-step p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.7}

.v4-quote{
    position:relative;padding:54px 64px;border:1px solid var(--line-soft);border-radius:26px;background:var(--surface)
}
.v4-quote::before{content:"“";position:absolute;left:18px;top:0;color:rgba(193,154,85,.26);font-family:Georgia,serif;font-size:7rem;line-height:1}
.v4-quote p{position:relative;margin:0;font-family:"Libre Baskerville",Georgia,serif;font-size:clamp(1.45rem,2.5vw,2.2rem);line-height:1.55}
.v4-quote small{display:block;margin-top:16px;color:var(--muted)}

.v4-page-hero{
    position:relative;overflow:hidden;padding:96px 0 66px;border-bottom:1px solid var(--line-soft)
}
.v4-page-hero::after{content:"";position:absolute;right:6%;top:16px;width:330px;height:330px;border:1px solid rgba(193,154,85,.16);border-radius:50%}
.v4-page-hero h1{max-width:1000px;margin:10px 0 20px;font-size:clamp(3rem,5vw,5.2rem)}
.v4-page-hero p{max-width:840px;margin:0;color:var(--muted);font-size:1rem;line-height:1.85}
.v4-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.v4-pill{padding:7px 10px;border:1px solid var(--line-soft);border-radius:999px;color:var(--muted);font-size:.68rem;font-weight:800}

.v4-faq{display:grid;gap:10px}
.v4-faq details{border:1px solid var(--line-soft);border-radius:16px;background:var(--surface)}
.v4-faq summary{padding:18px 20px;cursor:pointer;font-weight:700}
.v4-faq details div{padding:0 20px 20px;color:var(--muted);font-size:.9rem;line-height:1.8}

.v4-callout{
    padding:48px;border:1px solid var(--line-soft);border-radius:26px;
    background:linear-gradient(135deg,#171611,#0f0f0d)
}
.v4-callout-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center}
.v4-callout h2{margin:8px 0 12px;font-size:clamp(2.1rem,3.5vw,3.6rem)}
.v4-callout p{margin:0;color:#c7c0b6;line-height:1.8}
.v4-callout-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}

.v4-footer{margin-top:76px;border-top:1px solid var(--line-soft);background:var(--bg-2)}
.v4-footer-main{padding:48px 0;display:grid;grid-template-columns:1.1fr .9fr .9fr;gap:42px}
.v4-footer-brand img{width:150px}
.v4-footer-brand p{max-width:480px;color:var(--muted);font-size:.85rem;line-height:1.8}
.v4-footer h4{margin:0 0 12px;font-size:.78rem;letter-spacing:.10em}
.v4-footer-links{display:grid;gap:7px}
.v4-footer-links a{color:var(--muted);font-size:.83rem}
.v4-footer-bottom{padding:16px 0;border-top:1px solid var(--line-soft);display:flex;justify-content:space-between;gap:20px;color:var(--muted-2);font-size:.72rem}

@media(max-width:1120px){
    .v4-header-inner{grid-template-columns:1fr auto auto}
    .v4-menu-toggle{display:block}
    .v4-nav{
        position:absolute;top:88px;left:0;right:0;display:none;
        padding:14px 22px 22px;background:var(--bg);border-bottom:1px solid var(--line-soft)
    }
    .v4-nav.open{display:grid;justify-content:stretch}
    .v4-nav-group{display:grid}
    .v4-submenu{position:static;display:grid;box-shadow:none;border:0;background:transparent;padding:0 0 0 12px}
    .v4-actions .v4-portal-btn{display:none}
    .v4-hero-grid,.v4-split,.v4-head,.v4-callout-grid{grid-template-columns:1fr}
    .v4-visual{max-width:620px}
    .v4-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v4-process{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v4-step:nth-child(2){border-right:0}
    .v4-step:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}
    .v4-callout-actions{justify-content:flex-start}
}
@media(max-width:760px){
    .site-shell{width:min(100% - 28px,var(--container))}
    .v4-header-inner{width:min(100% - 22px,1420px)}
    .v4-brand-logo{width:58px;height:52px}
    .v4-brand-name{font-size:1rem}
    .v4-brand-sub{display:none}
    .v4-hero{min-height:auto}
    .v4-hero-grid{padding:54px 0}
    .v4-hero h1{font-size:clamp(2.6rem,11vw,4.4rem)}
    .v4-hero-meta,.v4-grid-3,.v4-grid-4,.v4-process{grid-template-columns:1fr}
    .v4-photo{width:92%}
    .v4-visual{min-height:500px}
    .v4-art-card{width:150px}
    .v4-section,.v4-section-sm{padding:60px 0}
    .v4-step{border-right:0;border-bottom:1px solid var(--line-soft)}
    .v4-step:last-child{border-bottom:0}
    .v4-feature{grid-template-columns:46px 1fr}
    .v4-tag{display:none}
    .v4-quote{padding:42px 24px}
    .v4-callout{padding:34px 24px}
    .v4-footer-main{grid-template-columns:1fr}
    .v4-footer-bottom{flex-direction:column}
}


/* ============================================================
   PUBLIC RECOVERY V2
   Definitive static strip + editorial media
   ============================================================ */

.v4-strip{
    overflow:visible !important;
    border-block:1px solid var(--line-soft) !important;
    background:var(--bg-2) !important;
}

.v4-strip-track{
    width:min(var(--container),calc(100% - 48px)) !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:0 !important;
    padding:16px 0 !important;
    animation:none !important;
    transform:none !important;
}

.v4-strip-track span{
    position:relative !important;
    padding:10px 20px !important;
    color:var(--muted) !important;
    font-size:.74rem !important;
    font-weight:700 !important;
    letter-spacing:.08em !important;
    line-height:1.45 !important;
    text-align:center !important;
    text-transform:uppercase !important;
    white-space:normal !important;
}

.v4-strip-track span::before{
    content:none !important;
    display:none !important;
}

.v4-strip-track span::after{
    content:"" !important;
    position:absolute !important;
    top:20% !important;
    bottom:20% !important;
    right:0 !important;
    width:1px !important;
    background:var(--line-soft) !important;
}

.v4-strip-track span:last-child::after{
    display:none !important;
}

.v4-art-panel:empty,
.v4-art-card:empty{
    display:none !important;
}

.v4-media-section{
    padding-top:72px;
    padding-bottom:72px;
}

.v4-photo-grid{
    display:grid;
    grid-template-columns:1.35fr .825fr .825fr;
    gap:16px;
}

.v4-media-card,
.v4-editorial-image{
    position:relative;
    overflow:hidden;
    margin:0;
    border:1px solid var(--line-soft);
    border-radius:24px;
    background:var(--surface);
    box-shadow:var(--shadow);
}

.v4-media-card img{
    width:100%;
    height:100%;
    min-height:360px;
    object-fit:cover;
    display:block;
}

.v4-media-card-wide img{
    min-height:520px;
}

.v4-editorial-image{
    min-height:430px;
}

.v4-editorial-image img{
    width:100%;
    height:100%;
    min-height:430px;
    object-fit:cover;
    display:block;
}

.v4-editorial-image-landscape{
    min-height:390px;
}

.v4-editorial-image-landscape img{
    min-height:390px;
}

.v4-media-card::after,
.v4-editorial-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 52%,rgba(0,0,0,.46) 100%);
    pointer-events:none;
}

.v4-media-card figcaption,
.v4-editorial-image figcaption{
    position:absolute;
    left:16px;
    right:16px;
    bottom:16px;
    z-index:2;
    padding:16px 17px;
    border:1px solid rgba(193,154,85,.22);
    border-radius:16px;
    background:rgba(12,12,11,.80);
    backdrop-filter:blur(8px);
}

.v4-media-card figcaption span,
.v4-media-card figcaption strong,
.v4-editorial-image figcaption span,
.v4-editorial-image figcaption strong{
    display:block;
}

.v4-media-card figcaption span,
.v4-editorial-image figcaption span{
    color:#d5b16f;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.13em;
}

.v4-media-card figcaption strong,
.v4-editorial-image figcaption strong{
    margin-top:5px;
    color:#fff;
    font-family:"Libre Baskerville",Georgia,serif;
    font-size:1rem;
    font-weight:400;
    line-height:1.4;
}

@media(max-width:1050px){
    .v4-photo-grid{
        grid-template-columns:1fr 1fr;
    }

    .v4-media-card-wide{
        grid-column:1/-1;
    }

    .v4-strip-track{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .v4-strip-track span:nth-child(2)::after{
        display:none !important;
    }
}

@media(max-width:700px){
    .v4-photo-grid{
        grid-template-columns:1fr;
    }

    .v4-media-card-wide{
        grid-column:auto;
    }

    .v4-media-card img,
    .v4-media-card-wide img,
    .v4-editorial-image img,
    .v4-editorial-image-landscape img{
        min-height:320px;
    }

    .v4-strip-track{
        grid-template-columns:1fr !important;
    }

    .v4-strip-track span::after{
        display:none !important;
    }

    .v4-strip-track span{
        border-bottom:1px solid var(--line-soft) !important;
    }

    .v4-strip-track span:last-child{
        border-bottom:0 !important;
    }
}

/* ============================================================
   PORTAL CTA CONTRAST FIX
   ============================================================ */

.v4-callout{
    color:#f4efe6 !important;
}

.v4-callout .site-title,
.v4-callout h1,
.v4-callout h2,
.v4-callout h3,
.v4-callout strong{
    color:#f4efe6 !important;
}

.v4-callout p{
    color:#d8d0c4 !important;
}

.v4-callout .site-kicker{
    color:#d3b06e !important;
}

.v4-callout .v4-btn-primary{
    background:linear-gradient(180deg,#d3b06e,#b98d46) !important;
    color:#17120a !important;
    border-color:transparent !important;
}

.v4-callout .v4-btn-outline{
    color:#f4efe6 !important;
    border-color:rgba(211,176,110,.34) !important;
    background:rgba(255,255,255,.02) !important;
}

.v4-callout .v4-btn-outline:hover{
    background:rgba(193,154,85,.10) !important;
    border-color:rgba(211,176,110,.55) !important;
    color:#ffffff !important;
}

