/* =============================================
   HISTORIC PORTAL - Animations & 3D Loader
   ============================================= */

/* ============= INITIAL LOADER ============= */
.hp-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #1e3a5f 0%, #0b1929 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hp-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.hp-loader.removed {
    display: none;
}

#hp-loader-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
}

.hp-loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hp-loader-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #f8f3e7;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow:
        0 0 20px rgba(200, 160, 80, 0.3),
        0 0 40px rgba(200, 160, 80, 0.2);
    animation: hp-loader-text-glow 2.5s ease-in-out infinite alternate;
    opacity: 0;
    animation: hp-loader-fade-in 1s 0.3s ease forwards, hp-loader-text-glow 2.5s 1.3s ease-in-out infinite alternate;
}

.hp-loader-tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    color: #c8a050;
    font-style: italic;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: hp-loader-fade-in 1s 0.8s ease forwards;
    margin-bottom: 48px;
}

.hp-loader-bar {
    width: 240px;
    height: 2px;
    background: rgba(200, 160, 80, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    animation: hp-loader-fade-in 1s 1.2s ease forwards;
}

.hp-loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, #c8a050, #e8d4a8, #c8a050, transparent);
    transform: translateX(-100%);
    animation: hp-loader-progress 1.8s 1.2s ease-in-out infinite;
}

.hp-loader-ornament {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    pointer-events: none;
    z-index: 1;
}

.hp-loader-ornament-top {
    top: 8%;
}

.hp-loader-ornament-bottom {
    bottom: 8%;
}

.hp-loader-ornament::before,
.hp-loader-ornament::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8a050, transparent);
}

.hp-loader-ornament::before { left: 0; }
.hp-loader-ornament::after { right: 0; }

.hp-loader-ornament-top {
    opacity: 0;
    animation: hp-loader-fade-in 1s 0.5s ease forwards;
}

.hp-loader-ornament-bottom {
    opacity: 0;
    animation: hp-loader-fade-in 1s 0.5s ease forwards;
}

/* ============= PAGE TRANSITION ============= */
.hp-transition {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #1e3a5f 0%, #0b1929 100%);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.hp-transition.active {
    display: flex;
    pointer-events: all;
}

.hp-transition.entering {
    animation: hp-transition-enter 0.5s ease forwards;
}

.hp-transition.leaving {
    animation: hp-transition-leave 0.5s ease forwards;
}

#hp-transition-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.hp-transition-text {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    color: #f8f3e7;
    letter-spacing: 0.08em;
    text-shadow: 0 0 30px rgba(200, 160, 80, 0.4);
    opacity: 0;
    animation: hp-transition-text-pulse 0.8s ease-in-out forwards;
}

/* ============= KEYFRAMES ============= */
@keyframes hp-loader-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hp-loader-text-glow {
    0% {
        text-shadow:
            0 0 20px rgba(200, 160, 80, 0.3),
            0 0 40px rgba(200, 160, 80, 0.2);
    }
    100% {
        text-shadow:
            0 0 30px rgba(200, 160, 80, 0.6),
            0 0 60px rgba(200, 160, 80, 0.3),
            0 0 90px rgba(200, 160, 80, 0.15);
    }
}

@keyframes hp-loader-progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes hp-transition-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hp-transition-leave {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes hp-transition-text-pulse {
    0% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes hp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hp-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hp-hero-rise {
    from {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes hp-scroll-bounce {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.4); transform-origin: top; }
}

/* ============= SCROLL ANIMATIONS ============= */
.hp-fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hp-fade-in-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hp-stagger-1 { transition-delay: 0.1s; }
.hp-stagger-2 { transition-delay: 0.2s; }
.hp-stagger-3 { transition-delay: 0.3s; }
.hp-stagger-4 { transition-delay: 0.4s; }

/* ============= READING PROGRESS BAR ============= */
.hp-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(200, 160, 80, 0.1);
    z-index: 999;
}

.hp-reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c8a050, #a07d2e);
    width: 0%;
    transition: width 0.15s ease;
}

/* ============= SINGLE POST PAGES ============= */
.hp-single-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    color: #f8f3e7;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hp-single-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hp-single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 25, 41, 0.3) 0%, rgba(11, 25, 41, 0.95) 100%);
}

.hp-single-hero-content {
    position: relative;
    z-index: 1;
}

.hp-single-meta-top {
    margin-bottom: 24px;
}

.hp-single-cat {
    display: inline-block;
    background: #c8a050;
    color: #0b1929;
    padding: 6px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    border-radius: 20px;
}

.hp-single-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: #f8f3e7;
    margin: 0 0 32px;
    line-height: 1.1;
    max-width: 900px;
}

.hp-single-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
}

.hp-single-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-single-author img {
    border-radius: 50%;
    border: 2px solid #c8a050;
}

.hp-single-author-info,
.hp-single-date,
.hp-single-read {
    display: flex;
    flex-direction: column;
}

.hp-single-author-label,
.hp-single-meta-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #c8a050;
    margin-bottom: 2px;
}

.hp-single-author-name,
.hp-single-date span:last-child,
.hp-single-read span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: #f8f3e7;
}

.hp-single-meta-divider {
    width: 1px;
    height: 32px;
    background: rgba(200, 160, 80, 0.3);
}

.hp-single-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 60px 24px;
}

.hp-single-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    line-height: 1.75;
    color: #2c2418;
}

.hp-single-content p {
    margin: 0 0 1.4em;
}

.hp-single-content h2 {
    font-size: 2rem;
    margin: 2em 0 0.6em;
    color: #0b1929;
}

.hp-single-content h3 {
    font-size: 1.5rem;
    margin: 1.6em 0 0.5em;
}

.hp-single-content img {
    border-radius: 4px;
    margin: 2em 0;
    box-shadow: 0 20px 40px rgba(11, 25, 41, 0.1);
}

.hp-single-content blockquote {
    border-left: 4px solid #c8a050;
    padding: 16px 0 16px 32px;
    margin: 2em 0;
    font-style: italic;
    color: #5e544a;
    font-size: 1.25em;
}

.hp-single-content a {
    color: #a07d2e;
    text-decoration: underline;
    text-decoration-color: rgba(160, 125, 46, 0.3);
    text-underline-offset: 4px;
}

.hp-single-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #d4c8b0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hp-single-tags-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #8a8278;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.hp-single-tags a {
    background: #f8f3e7;
    color: #5e544a;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.hp-single-tags a:hover {
    background: #c8a050;
    color: #0b1929;
}

.hp-single-share {
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid #d4c8b0;
    border-bottom: 1px solid #d4c8b0;
}

.hp-single-share-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #8a8278;
    font-family: 'Inter', sans-serif;
    display: block;
    margin-bottom: 16px;
}

.hp-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hp-share-btn {
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hp-share-fb { background: #1877f2; }
.hp-share-tw { background: #1da1f2; }
.hp-share-wa { background: #25d366; }
.hp-share-li { background: #0077b5; }

.hp-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.hp-author-box {
    margin: 60px 0;
    padding: 40px;
    background: #f8f3e7;
    border-left: 4px solid #c8a050;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.hp-author-box img {
    border-radius: 50%;
    flex-shrink: 0;
}

.hp-author-box-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #a07d2e;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.hp-author-box-name {
    margin: 8px 0 12px;
    font-size: 24px;
}

.hp-author-box-bio {
    color: #5e544a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    margin: 0;
}

.hp-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 60px 0;
    padding-top: 48px;
    border-top: 1px solid #d4c8b0;
}

.hp-post-nav-prev,
.hp-post-nav-next {
    padding: 24px;
    background: #f8f3e7;
    text-decoration: none;
    color: #0b1929;
    transition: all 0.4s ease;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-post-nav-next {
    text-align: right;
}

.hp-post-nav-prev:hover,
.hp-post-nav-next:hover {
    background: #0b1929;
    color: #f8f3e7;
    transform: translateY(-4px);
}

.hp-post-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #a07d2e;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.hp-post-nav-prev:hover .hp-post-nav-label,
.hp-post-nav-next:hover .hp-post-nav-label {
    color: #c8a050;
}

.hp-post-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.3;
}

/* SIDEBAR */
.hp-single-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    margin-bottom: 48px;
    padding: 28px;
    background: #f8f3e7;
    border-radius: 4px;
}

.widget-title {
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin: 0 0 20px !important;
    color: #0b1929 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #c8a050;
}

.hp-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-related-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d4c8b0;
}

.hp-related-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hp-related-list a {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    text-decoration: none;
    color: #0b1929;
}

.hp-related-list img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.hp-related-list strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.hp-related-list a:hover strong {
    color: #a07d2e;
}

.hp-related-list small {
    font-size: 11px;
    color: #8a8278;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hp-tag-cloud a {
    display: inline-block;
    background: white;
    color: #5e544a;
    padding: 4px 10px;
    margin: 2px;
    font-size: 12px !important;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hp-tag-cloud a:hover {
    background: #c8a050;
    color: #0b1929;
}

/* COMMENTS */
.hp-comments {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid #d4c8b0;
}

.hp-comments-title {
    font-size: 28px;
    margin-bottom: 32px;
}

.hp-comments-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 24px;
    background: #f8f3e7;
    border-radius: 4px;
    margin-bottom: 16px;
}

.hp-comment-form input,
.hp-comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4c8b0;
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 12px;
}

.hp-comment-form input:focus,
.hp-comment-form textarea:focus {
    border-color: #c8a050;
    outline: none;
}

.hp-comment-form input[type="submit"] {
    width: auto;
    background: #0b1929;
    color: #f8f3e7;
    border: none;
    padding: 14px 32px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* ============= PAGE HERO ============= */
.hp-page-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f8f3e7 0%, #fefcf7 100%);
    position: relative;
    overflow: hidden;
}

.hp-page-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 160, 80, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 160, 80, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hp-page-hero > .hp-container {
    position: relative;
    z-index: 1;
}

.hp-page-hero-label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #a07d2e;
    font-weight: 600;
    margin-bottom: 16px;
    padding: 6px 20px;
    border: 1px solid #c8a050;
    border-radius: 40px;
}

.hp-page-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #0b1929;
    margin: 0 0 12px;
    line-height: 1;
}

.hp-page-hero-meta {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #8a8278;
    margin: 0;
}

.hp-page-hero-divider {
    width: 60px;
    height: 2px;
    background: #c8a050;
    margin: 32px auto 0;
}

.hp-page-wrapper {
    padding: 60px 24px;
}

.hp-page-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    line-height: 1.7;
    color: #2c2418;
}

/* ============= LEGAL PAGES ============= */
.hp-legal-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    padding: 60px 24px;
}

.hp-legal-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    background: #f8f3e7;
    padding: 28px;
    border-radius: 4px;
    border-left: 3px solid #c8a050;
}

.hp-legal-toc h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #a07d2e;
    margin: 0 0 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.hp-legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    margin: 0;
    padding: 0;
}

.hp-legal-toc li {
    counter-increment: toc-counter;
    margin-bottom: 8px;
}

.hp-legal-toc a {
    font-size: 14px;
    color: #5e544a;
    text-decoration: none;
    display: block;
    padding: 6px 0 6px 28px;
    position: relative;
    transition: all 0.3s ease;
}

.hp-legal-toc a::before {
    content: counter(toc-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    color: #c8a050;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
}

.hp-legal-toc a:hover {
    color: #a07d2e;
    padding-left: 32px;
}

.hp-legal-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2c2418;
}

.hp-legal-content h2 {
    font-size: 1.75rem;
    margin: 2.5em 0 0.6em;
    color: #0b1929;
    scroll-margin-top: 100px;
}

.hp-legal-content h2:first-child {
    margin-top: 0;
}

.hp-legal-content h3 {
    font-size: 1.3rem;
    margin: 1.8em 0 0.5em;
    color: #1e3a5f;
}

.hp-legal-content ul,
.hp-legal-content ol {
    margin: 1em 0;
    padding-left: 24px;
}

.hp-legal-content li {
    margin-bottom: 8px;
}

.hp-legal-contact-box {
    background: #f8f3e7;
    border-left: 4px solid #c8a050;
    padding: 24px;
    margin: 24px 0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.hp-cookie-reopen-box {
    background: #0b1929;
    color: #f8f3e7;
    padding: 32px;
    margin: 48px 0;
    border-radius: 4px;
    text-align: center;
}

.hp-cookie-reopen-box p {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 0 0 20px;
    color: #f8f3e7;
}

/* ============= ABOUT PAGE ============= */
.hp-about-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: #5e544a;
    margin: 8px 0 0;
}

.hp-about-intro {
    padding: 100px 0;
    background: #fefcf7;
}

.hp-about-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.hp-about-intro-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 16px 0 24px;
}

.hp-about-quote {
    background: #f8f3e7;
    padding: 48px 40px;
    border-radius: 4px;
    position: relative;
    border-left: 4px solid #c8a050;
}

.hp-about-quote-mark {
    position: absolute;
    top: -20px;
    left: 32px;
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: #c8a050;
    line-height: 1;
}

.hp-about-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: #2c2418;
    margin: 0 0 16px;
}

.hp-about-quote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    color: #8a8278;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: 'Inter', sans-serif;
}

.hp-about-values {
    padding: 100px 0;
    background: #f8f3e7;
}

.hp-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.hp-value-card {
    background: #fefcf7;
    padding: 40px 32px;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.hp-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 25, 41, 0.1);
}

.hp-value-num {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-style: italic;
    color: #c8a050;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 24px;
}

.hp-value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.hp-value-card p {
    color: #5e544a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    margin: 0;
}

.hp-about-stats {
    padding: 80px 0;
    background: #0b1929;
    color: #f8f3e7;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    text-align: center;
}

.hp-stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #c8a050;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.hp-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(248, 243, 231, 0.6);
}

.hp-about-cta {
    padding: 80px 0;
    background: #fefcf7;
}

.hp-cta-box {
    background: linear-gradient(135deg, #c8a050 0%, #a07d2e 100%);
    color: #0b1929;
    padding: 80px 40px;
    border-radius: 8px;
    text-align: center;
}

.hp-cta-box h2 {
    color: #0b1929;
    font-size: clamp(2rem, 4vw, 3rem);
}

.hp-cta-box p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    margin: 16px 0 32px;
}

/* ============= CONTACT PAGE ============= */
.hp-contact-content {
    padding: 80px 0;
}

.hp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
}

.hp-contact-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 12px 0 16px;
}

.hp-contact-info p {
    color: #5e544a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    margin-bottom: 40px;
}

.hp-contact-methods {
    margin-bottom: 48px;
}

.hp-contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #d4c8b0;
}

.hp-contact-method:last-child {
    border-bottom: none;
}

.hp-contact-method-icon {
    width: 48px;
    height: 48px;
    background: #f8f3e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a050;
    font-size: 20px;
    flex-shrink: 0;
}

.hp-contact-method-body strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8a8278;
    margin-bottom: 4px;
}

.hp-contact-method-body a {
    color: #0b1929;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s ease;
}

.hp-contact-method-body a:hover {
    color: #a07d2e;
}

.hp-contact-socials h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #8a8278;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.hp-contact-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hp-contact-social-links a {
    padding: 10px 20px;
    border: 1px solid #d4c8b0;
    color: #0b1929;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.hp-contact-social-links a:hover {
    background: #0b1929;
    color: #f8f3e7;
    border-color: #0b1929;
}

.hp-contact-form-wrap {
    background: #f8f3e7;
    padding: 48px;
    border-radius: 4px;
}

.hp-contact-form-wrap h3 {
    font-size: 28px;
    margin: 0 0 24px;
}

.hp-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hp-contact-form label {
    display: flex;
    flex-direction: column;
}

.hp-contact-form span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8a8278;
    margin-bottom: 8px;
    font-weight: 600;
}

.hp-contact-form input,
.hp-contact-form textarea {
    background: white;
    border: 1px solid #d4c8b0;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.hp-contact-form input:focus,
.hp-contact-form textarea:focus {
    outline: none;
    border-color: #c8a050;
}

.hp-form-note {
    font-size: 13px;
    color: #8a8278;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-top: 16px;
}

/* ============= 404 ============= */
.hp-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f3e7 0%, #fefcf7 100%);
}

.hp-404-inner {
    max-width: 600px;
}

.hp-404-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 900;
    color: #c8a050;
    line-height: 1;
    text-shadow: 4px 4px 0 rgba(11, 25, 41, 0.05);
}

.hp-404-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 16px;
}

.hp-404-desc {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: #5e544a;
    margin-bottom: 32px;
}

.hp-404-actions {
    margin-bottom: 48px;
}

.hp-404-search {
    max-width: 400px;
    margin: 0 auto;
}

/* ============= ARCHIVE HERO ============= */
.hp-archive-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f8f3e7 0%, #fefcf7 100%);
    position: relative;
    overflow: hidden;
}

.hp-archive-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 160, 80, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 160, 80, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hp-archive-label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #a07d2e;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hp-archive-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.hp-archive-desc {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #5e544a;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hp-archive {
    padding: 80px 0;
}

/* ============= PAGINATION ============= */
.hp-pagination {
    margin-top: 60px;
    text-align: center;
}

.hp-pagination .nav-links {
    display: inline-flex;
    gap: 8px;
}

.hp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d4c8b0;
    background: white;
    color: #5e544a;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
}

.hp-pagination .page-numbers:hover,
.hp-pagination .page-numbers.current {
    background: #0b1929;
    color: #f8f3e7;
    border-color: #0b1929;
}

.hp-no-posts {
    text-align: center;
    padding: 80px 0;
}

.hp-no-posts h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.hp-no-posts p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #5e544a;
    margin-bottom: 32px;
}

/* ============= MOBILE ============= */
@media (max-width: 968px) {
    .hp-single-wrapper {
        grid-template-columns: 1fr;
    }

    .hp-single-sidebar {
        position: static;
    }

    .hp-about-intro-grid,
    .hp-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hp-legal-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hp-legal-toc {
        position: static;
    }

    .hp-post-nav {
        grid-template-columns: 1fr;
    }

    .hp-author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hp-form-row {
        grid-template-columns: 1fr;
    }

    .hp-contact-form-wrap {
        padding: 32px 24px;
    }

    .hp-cta-box {
        padding: 48px 24px;
    }
}

/* ============= UTILITIES ============= */
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.alignwide { max-width: 100%; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
