/*
Theme Name: Jessica Platform
Theme URI: https://example.com/
Author: Site Team
Description: A custom membership content theme.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: jessica-platform
*/

:root {
  --ink: #121116;
  --paper: #f7f5f2;
  --surface: #ffffff;
  --muted: #706b72;
  --line: #dedadd;
  --accent: #d72963;
  --accent-deep: #a9184a;
  --night: #18141b;
  --night-soft: #261f28;
  --radius: 6px;
  --wide: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.site-shell { min-height: 100vh; }
.wrap { width: var(--wide); margin: 0 auto; }
.utility-bar { background: #0f0d10; color: #eee9ee; font-size: 13px; }
.utility-bar .wrap { min-height: 38px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-main { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { font-family: Georgia, serif; font-size: 29px; font-weight: 700; letter-spacing: 0; text-align: center; }
.brand span { color: var(--accent); font-style: italic; }
.header-search { position: relative; max-width: 280px; }
.header-search input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 4px; padding: 0 12px; background: #faf9fa; }
.header-actions { justify-self: end; display: flex; gap: 14px; align-items: center; font-size: 14px; }
.header-actions a { white-space: nowrap; }
.primary-nav { border-top: 1px solid var(--line); background: var(--surface); }
.primary-nav .wrap { min-height: 48px; display: flex; justify-content: center; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.primary-nav a { text-transform: uppercase; }
.hero { min-height: 630px; color: #fff; display: grid; align-items: end; background: linear-gradient(90deg, rgba(11, 8, 13, .84) 0%, rgba(11, 8, 13, .38) 55%, rgba(11, 8, 13, .1)), url('assets/images/hero-placeholder.jpg') center / cover, #2d1725; }
.hero-content { padding: 88px 0; max-width: 670px; }
.kicker { margin: 0 0 16px; color: #f5b7cb; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.12; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(42px, 6vw, 78px); }
.hero p:not(.kicker) { max-width: 550px; font-size: 18px; color: #f3edf0; margin: 24px 0 30px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; background: var(--accent); color: #fff; padding: 0 22px; font-size: 14px; font-weight: 700; cursor: pointer; }
.button:hover { color: #fff; background: var(--accent-deep); }
.button--light { background: #fff; color: var(--ink); }
.button--light:hover { color: var(--ink); background: #f0e9ed; }
.section { padding: 78px 0; }
.section--dark { color: #fff; background: var(--night); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 47px); }
.section-heading p { max-width: 460px; margin: 0; color: var(--muted); }
.section--dark .section-heading p { color: #c3bac3; }
.content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.content-card { position: relative; display: block; overflow: hidden; background: #272127; border-radius: var(--radius); min-height: 280px; color: #fff; }
.content-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .74; transition: transform .3s ease, opacity .3s ease; }
.content-card:hover .content-card__image { transform: scale(1.04); opacity: .9; }
.content-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .82)); }
.content-card__body { position: absolute; inset: auto 0 0; padding: 18px; z-index: 1; }
.content-card__meta { display: flex; gap: 10px; color: #f3c6d6; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.content-card h3 { margin: 8px 0 0; font-size: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #4a414b; border: 1px solid #4a414b; }
.feature { padding: 36px 30px; background: var(--night-soft); }
.feature h3 { margin: 0 0 10px; font-size: 27px; }
.feature p { margin: 0; color: #d0c7ce; }
.cta { padding: 78px 0; color: #fff; text-align: center; background: #b51e53; }
.cta h2 { max-width: 760px; margin: 0 auto 18px; font-size: clamp(34px, 5vw, 58px); }
.cta p { max-width: 590px; margin: 0 auto 28px; color: #ffeaf1; }
.site-footer { color: #cec6cc; background: #0f0d10; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 36px; }
.site-footer h3 { color: #fff; font-family: Arial, sans-serif; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 9px 0; font-size: 14px; }
.footer-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid #373139; color: #89818a; font-size: 12px; }
.archive-header, .entry-header { padding: 70px 0 38px; background: var(--surface); border-bottom: 1px solid var(--line); }
.archive-header h1, .entry-header h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); }
.archive-header p { max-width: 620px; color: var(--muted); }
.archive-grid { padding: 48px 0 84px; }
.entry-layout { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 84px; }
.entry-featured { margin-bottom: 34px; border-radius: var(--radius); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; margin: 28px 0; background: #151216; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.member-wall { margin: 30px 0; padding: 36px; border: 1px solid #e8d5dd; border-radius: var(--radius); background: #fff2f6; text-align: center; }
.member-wall h2 { margin: 0 0 12px; }
.member-wall p { margin: 0 0 20px; }
.auth-wrap { width: min(500px, calc(100% - 48px)); margin: 68px auto; }
.auth-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.auth-card h1 { margin-top: 0; font-size: 40px; }
.auth-card label { display: block; margin: 16px 0 7px; font-size: 14px; font-weight: 700; }
.auth-card input { display: block; width: 100%; height: 44px; border: 1px solid #cfc8ce; border-radius: 4px; padding: 0 12px; }
.auth-card .button { margin-top: 22px; width: 100%; }
.notice { padding: 12px 14px; margin: 16px 0; border-left: 3px solid var(--accent); background: #fff0f5; }
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.pagination .current { color: #fff; background: var(--accent); border-color: var(--accent); }
@media (max-width: 860px) { .header-main { grid-template-columns: 1fr auto; } .brand { grid-column: 1 / -1; grid-row: 1; } .header-search { display: none; } .header-actions { grid-column: 1 / -1; justify-self: center; grid-row: 2; } .header-main { padding: 14px 0; } .primary-nav .wrap { overflow-x: auto; justify-content: flex-start; padding: 0 24px; } .hero { min-height: 560px; } .content-grid { grid-template-columns: repeat(2, 1fr); } .feature-grid, .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { :root { --wide: min(100% - 32px, 1180px); } .utility-bar .wrap { justify-content: center; } .hero-content { padding: 64px 0; } .section { padding: 56px 0; } .section-heading { display: block; } .section-heading p { margin-top: 15px; } .content-grid { grid-template-columns: 1fr; } .content-card { min-height: 330px; } .member-wall, .auth-card { padding: 24px; } }
