/* ============================================================
   CJones Homepage — Premium Dark Fine-Art Stylesheet v1.0.0
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Syne:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── Design tokens ── */
.cjhp-wrap {
    --cj-bg:         #0e0e0c;
    --cj-bg2:        #111110;
    --cj-surface:    #141410;
    --cj-surface2:   #1c1c18;
    --cj-border:     rgba(212,180,110,0.16);
    --cj-border-mid: rgba(212,180,110,0.28);
    --cj-gold:       #c8a96e;
    --cj-gold-lt:    #e2ca99;
    --cj-gold-dim:   rgba(200,169,110,0.4);
    --cj-text:       #e8e4d6;
    --cj-muted:      rgba(232,228,214,0.52);
    --cj-serif:      'Cormorant Garamond', Georgia, serif;
    --cj-sans:       'DM Sans', system-ui, sans-serif;
    --cj-display:    'Syne', sans-serif;
    --cj-r:          4px;
    background: var(--cj-bg);
    color: var(--cj-text);
    font-family: var(--cj-sans);
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
}

/* ── Shared utilities ── */
.cjhp-eyebrow {
    font-family: var(--cj-display);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--cj-gold);
    font-weight: 600;
    margin: 0 0 16px;
}
.cjhp-eyebrow--light { color: var(--cj-gold-lt); }

.cjhp-section-title {
    font-family: var(--cj-serif);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 300;
    color: var(--cj-text);
    margin: 0 0 24px;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.cjhp-link-arrow {
    font-family: var(--cj-display);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cj-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--cj-border-mid);
    padding-bottom: 2px;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
    margin-top: 8px;
}
.cjhp-link-arrow:hover { color: var(--cj-gold-lt); border-color: var(--cj-gold); }

/* ── Buttons ── */
.cjhp-btn {
    display: inline-block;
    font-family: var(--cj-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--cj-r);
    padding: 15px 36px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    white-space: nowrap;
}
.cjhp-btn:hover { transform: translateY(-1px); }
.cjhp-btn:active { transform: translateY(0); }
.cjhp-btn--primary  { background: var(--cj-gold); color: #0e0e0c; border: 1px solid var(--cj-gold); }
.cjhp-btn--primary:hover { background: var(--cj-gold-lt); border-color: var(--cj-gold-lt); }
.cjhp-btn--ghost    { background: transparent; color: var(--cj-text); border: 1px solid var(--cj-border-mid); }
.cjhp-btn--ghost:hover { border-color: var(--cj-gold-dim); color: var(--cj-gold-lt); }
.cjhp-btn--outline  { background: transparent; color: var(--cj-gold); border: 1px solid var(--cj-gold-dim); }
.cjhp-btn--outline:hover { border-color: var(--cj-gold); color: var(--cj-gold-lt); }

/* ══ HERO ══ */
.cjhp-hero {
    min-height: 100svh;
    padding: 120px 6vw 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--cj-border);
}
.cjhp-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 75% 55%, rgba(200,169,110,0.07) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,169,110,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.cjhp-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}
.cjhp-hero__content { position: relative; z-index: 1; }
.cjhp-hero__title {
    font-family: var(--cj-serif);
    font-size: clamp(48px, 6.5vw, 82px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cj-text);
    margin: 0 0 32px;
    letter-spacing: -0.02em;
}
.cjhp-hero__title em {
    font-style: italic;
    color: var(--cj-gold-lt);
    font-weight: 300;
}
.cjhp-hero__lead {
    font-size: 17px;
    color: var(--cj-muted);
    max-width: 440px;
    line-height: 1.8;
    margin: 0 0 44px;
    font-weight: 300;
}
.cjhp-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero image */
.cjhp-hero__image { position: relative; z-index: 1; }
.cjhp-hero__frame {
    position: relative;
}
.cjhp-hero__frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 28px;
    left: 20px;
    border: 1px solid var(--cj-border);
    border-radius: var(--cj-r);
    pointer-events: none;
    z-index: 0;
}
.cjhp-hero__frame::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: 20px;
    top: 20px;
    border: 1px solid rgba(200,169,110,0.08);
    border-radius: var(--cj-r);
    pointer-events: none;
    z-index: 0;
}
.cjhp-hero__frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    border-radius: var(--cj-r);
    position: relative;
    z-index: 1;
    filter: saturate(0.85) contrast(1.06);
}
.cjhp-hero__caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--cj-border);
}
.cjhp-hero__caption-title {
    font-family: var(--cj-serif);
    font-size: 14px;
    color: var(--cj-text);
    font-style: italic;
}
.cjhp-hero__caption-meta {
    font-family: var(--cj-display);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cj-gold);
}

/* Scroll indicator */
.cjhp-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}
.cjhp-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cj-gold), transparent);
    animation: cjhp-scroll 2s ease-in-out infinite;
}
@keyframes cjhp-scroll {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(0.6); opacity: 1; }
}
.cjhp-hero__scroll-label {
    font-family: var(--cj-display);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cj-gold-dim);
}

/* ══ MARQUEE ══ */
.cjhp-marquee {
    overflow: hidden;
    border-top: 1px solid var(--cj-border);
    border-bottom: 1px solid var(--cj-border);
    background: var(--cj-surface);
    padding: 16px 0;
    white-space: nowrap;
}
.cjhp-marquee__track {
    display: inline-flex;
    gap: 32px;
    animation: cjhp-marquee 28s linear infinite;
}
@keyframes cjhp-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.cjhp-marquee__track span {
    font-family: var(--cj-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cj-muted);
}
.cjhp-marquee__dot { color: var(--cj-gold) !important; font-size: 8px !important; }

/* ══ WORKS GRID ══ */
.cjhp-works {
    padding: 100px 6vw;
    border-bottom: 1px solid var(--cj-border);
}
.cjhp-works__inner { max-width: 1280px; margin: 0 auto; }
.cjhp-section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 56px;
}

.cjhp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}
.cjhp-card--tall { grid-row: span 2; }
.cjhp-card--wide { grid-column: span 2; }

.cjhp-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--cj-r);
    border: 1px solid var(--cj-border);
    background: var(--cj-surface);
    transition: border-color 0.3s;
}
.cjhp-card:hover { border-color: var(--cj-border-mid); }

.cjhp-card__image {
    position: relative;
    overflow: hidden;
}
.cjhp-card--tall .cjhp-card__image   { aspect-ratio: 3/5; }
.cjhp-card:not(.cjhp-card--tall):not(.cjhp-card--wide) .cjhp-card__image { aspect-ratio: 4/3; }
.cjhp-card--wide .cjhp-card__image   { aspect-ratio: 16/7; }

.cjhp-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s;
    filter: saturate(0.85) contrast(1.05);
}
.cjhp-card:hover .cjhp-card__image img {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.05);
}

.cjhp-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,14,12,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s;
}
.cjhp-card:hover .cjhp-card__overlay { opacity: 1; }
.cjhp-card__cta {
    font-family: var(--cj-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0e0e0c;
    background: var(--cj-gold);
    padding: 12px 28px;
    border-radius: var(--cj-r);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.cjhp-card__cta:hover { background: var(--cj-gold-lt); }

.cjhp-card__info {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--cj-border);
}
.cjhp-card__title {
    font-family: var(--cj-serif);
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: var(--cj-text);
    margin: 0 0 4px;
    line-height: 1.3;
}
.cjhp-card__meta {
    font-family: var(--cj-display);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cj-gold);
    margin: 0;
}

/* ══ ABOUT ══ */
.cjhp-about {
    padding: 100px 6vw;
    border-bottom: 1px solid var(--cj-border);
    background: var(--cj-surface);
}
.cjhp-about__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.cjhp-about__image {
    position: relative;
}
.cjhp-about__image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 1px solid var(--cj-border);
    border-radius: var(--cj-r);
    pointer-events: none;
    z-index: 0;
}
.cjhp-about__image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--cj-r);
    display: block;
    position: relative;
    z-index: 1;
    filter: saturate(0.8) contrast(1.05);
}
.cjhp-about__title {
    font-family: var(--cj-serif);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    line-height: 1.22;
    color: var(--cj-text);
    margin: 0 0 28px;
    letter-spacing: -0.01em;
}
.cjhp-about__text {
    font-size: 16px;
    color: var(--cj-muted);
    line-height: 1.85;
    margin: 0 0 20px;
    font-weight: 300;
    max-width: 520px;
}
.cjhp-about__text:last-of-type { margin-bottom: 36px; }

/* ══ STATS ══ */
.cjhp-stats {
    padding: 64px 6vw;
    border-bottom: 1px solid var(--cj-border);
}
.cjhp-stats__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cjhp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}
.cjhp-stat__num {
    font-family: var(--cj-serif);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 300;
    color: var(--cj-text);
    line-height: 1;
}
.cjhp-stat__plus {
    font-size: 0.55em;
    color: var(--cj-gold);
    vertical-align: super;
}
.cjhp-stat__label {
    font-family: var(--cj-display);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cj-gold);
    font-weight: 600;
}
.cjhp-stats__divider {
    width: 1px;
    height: 60px;
    background: var(--cj-border);
    flex-shrink: 0;
}

/* ══ CTA ══ */
.cjhp-cta {
    padding: 120px 6vw;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cjhp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,169,110,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cjhp-cta__inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cjhp-cta__title {
    font-family: var(--cj-serif);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 300;
    color: var(--cj-text);
    margin: 0 0 24px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.cjhp-cta__desc {
    font-size: 17px;
    color: var(--cj-muted);
    line-height: 1.8;
    margin: 0 0 48px;
    font-weight: 300;
}

/* ══ Responsive ══ */
@media (max-width: 1024px) {
    .cjhp-hero__inner,
    .cjhp-about__inner { gap: 56px; }
    .cjhp-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .cjhp-card--tall { grid-row: span 1; }
    .cjhp-card--wide { grid-column: span 2; }
}
@media (max-width: 800px) {
    .cjhp-hero { padding: 80px 6vw 80px; min-height: auto; }
    .cjhp-hero__inner,
    .cjhp-about__inner { grid-template-columns: 1fr; gap: 48px; }
    .cjhp-hero__image { order: -1; }
    .cjhp-hero__frame::before,
    .cjhp-hero__frame::after,
    .cjhp-about__image::after { display: none; }
    .cjhp-hero__scroll { display: none; }
    .cjhp-grid {
        grid-template-columns: 1fr;
    }
    .cjhp-card--tall,
    .cjhp-card--wide { grid-column: span 1; grid-row: span 1; }
    .cjhp-stats__inner { flex-wrap: wrap; }
    .cjhp-stats__divider { display: none; }
    .cjhp-stat { min-width: 40%; }
    .cjhp-hero__actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .cjhp-hero { padding: 72px 5vw 64px; }
    .cjhp-works, .cjhp-about, .cjhp-cta { padding: 64px 5vw; }
}