/*
Theme Name: Dayan Arc
Theme URI: https://www.dayanarc.com
Author: Dayan Arc
Author URI: https://www.dayanarc.com
Description: Premium architecture and interior design WordPress theme with fullPage.js single-page layout.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dayanarc
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #f6f0da;
}
#fullpage {
    background-color: #f6f0da;
}

/* Hide all scrollbars globally */
html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Black intro screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 100;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: top;
}

.loader-hide {
    transform: translateY(-100%);
}

/* Typography */
.title-text {
    font-family: 'Playfair Display', serif;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
}

.fancy-d {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.3em;
    margin-right: -0.05em;
}

.fancy-e {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.15em;
    margin-right: -0.05em;
}

.fancy-r {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.15em;
    margin-right: -0.05em;
}

.fancy-s {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.2em;
    margin-right: -0.05em;
}

.fancy-c {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.25em;
    margin-right: -0.02em;
}

.fancy-marquee {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.italic-m {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.3em;
    line-height: 0.7;
    text-transform: none;
}

/* Text Animation Masking */
.reveal-mask {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.reveal-text {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-out;
}

.reveal-text.active {
    transform: translateY(0);
    opacity: 1;
}

/* Delay classes */
.delay-100 { transition-delay: 100ms, 100ms; }
.delay-200 { transition-delay: 200ms, 200ms; }
.delay-300 { transition-delay: 300ms, 300ms; }
.delay-400 { transition-delay: 400ms, 400ms; }
.delay-500 { transition-delay: 500ms, 500ms; }
.delay-600 { transition-delay: 600ms, 600ms; }

/* Image Curtain Animation */
.curtain-container {
    position: relative;
    overflow: hidden;
}

.curtain-img {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.3);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1),
                transform 2s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curtain-img.active {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.curtain-container:hover .curtain-img.active {
    transform: scale(1.05);
}

/* Portfolio specific curtain (faster timing) */
.curtain-img-portfolio {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.3);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1),
                transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curtain-img-portfolio.active {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.curtain-container:hover .curtain-img-portfolio.active {
    transform: scale(1.05);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    color: #ffffff;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
    pointer-events: none;
}

.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle 550px at var(--x) var(--y), rgba(255, 235, 200, 0.12) 0%, transparent 45%, rgba(0, 0, 0, 0.65) 100%);
    mix-blend-mode: normal;
}

/* Simple shine effect for services section */
.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle 250px at var(--x) var(--y), rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
    mix-blend-mode: screen;
}

.content-layer {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-link {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.nav-link:hover {
    transform: scale(1.15);
    opacity: 1;
}

.main-heading {
    font-size: clamp(3rem, 9vw, 8.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.sub-text {
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.cta-link:hover {
    border-bottom-color: #fff;
}

header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #1a1a1a;
    z-index: 100;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* === ABOUT SECTION === */
.about-section {
    background-color: #f6f0da;
    color: #231f20;
}

.link-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 280px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
    color: #231f20;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease-out 1s, transform 1s ease-out 1s;
}

.link-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

.link-text {
    font-size: 13px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.link-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: #c3ac8f;
    transform-origin: right center;
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.link-wrapper:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.arrow-graphic {
    display: flex;
    align-items: center;
    color: #231f20;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
    background-color: #f6f0da;
    color: #231f20;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    background: #f6f0da;
}

.nav-btn:hover {
    border-color: #231f20;
    transform: scale(1.05);
}

.portfolio-slide {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#journal-container {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-exit {
    opacity: 0;
    transform: translateY(12px);
}

.slide-enter {
    opacity: 0;
    transform: translateY(-12px);
}

/* === SERVICES SECTION === */
.services-section {
    background-color: #1a1816;
    color: #ffffff;
    position: relative;
}

.bg-fade {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.bg-fade.active {
    opacity: 1;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(20, 18, 16, 0.9) 0%, rgba(30, 26, 22, 0.7) 100%);
    z-index: 1;
}

.services-content {
    position: relative;
    z-index: 2;
}

.link-wrapper-white {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 220px;
    padding-bottom: 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    transition: color 0.4s ease;
}

.link-wrapper-white::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.link-wrapper-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-wrapper-white:hover {
    color: #ffffff;
}

.link-wrapper-white:hover::after {
    transform: scaleX(1);
}

.card-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.card-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-row2 .service-card {
    height: 400px;
    overflow: hidden;
}

.img-container {
    width: 85%;
    height: 240px;
    margin-left: auto;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .img-container {
    width: 65%;
    height: 160px;
}

.card-content-grid {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-content-grid {
    grid-template-rows: 1fr;
}

.card-inner-content {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.service-card:hover .card-inner-content {
    opacity: 1;
    transition-delay: 0.2s;
}

.arrow-hover {
    transition: transform 0.3s ease;
}

.service-card:hover .arrow-hover {
    transform: translateX(5px);
}

/* === BLOG SECTION === */
#journal-section {
    background-color: #f6f0da;
}
.blog-section {
    background-color: #f6f0da;
    color: #231f20;
}

.curtain-mask {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    height: 100%;
}

.curtain-mask.active {
    clip-path: inset(0 0 0 0);
}

.curtain-img-blog {
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-card:hover .curtain-img-blog {
    transform: scale(1);
}

.hover-overlay {
    position: absolute;
    inset: 1.25rem;
    background-color: rgba(246, 240, 218, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
}

.journal-card:hover .hover-overlay {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.read-more-btn svg {
    transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

/* === CONTACT SECTION === */
.contact-section {
    background-color: #f6f0da;
    color: #231f20;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d1ccc8;
    background: transparent;
    padding-bottom: 0.75rem;
    font-size: 13px;
    color: #231f20;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #231f20;
}

.form-input::placeholder {
    color: #585058;
    font-weight: 300;
}

.form-textarea {
    width: 100%;
    border: 1px solid #d1ccc8;
    background: transparent;
    padding: 1rem;
    font-size: 13px;
    color: #231f20;
    transition: border-color 0.3s ease;
    resize: none;
    height: 120px;
}

.form-textarea:focus {
    outline: none;
    border-color: #231f20;
}

.form-textarea::placeholder {
    color: #585058;
    font-weight: 300;
}

.link-wrapper-contact {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    padding-bottom: 0.5rem;
    text-decoration: none;
    color: #231f20;
    position: relative;
}

.link-wrapper-contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d1ccc8;
}

.link-wrapper-contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #c3ac8f;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-wrapper-contact:hover::after {
    transform: scaleX(1);
}

.link-wrapper-contact svg {
    transition: transform 0.3s ease;
}

.link-wrapper-contact:hover svg {
    transform: translateX(5px);
}

/* Contact message feedback */
#contact-message {
    display: none;
    margin-top: 1rem;
    font-size: 13px;
    padding: 0.5rem 0;
}

#contact-message.success { color: #4a7c59; }
#contact-message.error { color: #b94a48; }

/* === FOOTER === */
.footer-link {
    transition: color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.footer-link:hover {
    color: #585058;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    user-select: none;
    padding-bottom: 1.5rem;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: scroll 60s linear infinite;
}

.marquee-text {
    font-size: 5rem;
    line-height: 1;
    color: rgba(35, 31, 32, 0.08);
    text-transform: uppercase;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.diamond {
    width: 16px;
    height: 16px;
    background-color: rgba(35, 31, 32, 0.08);
    transform: rotate(45deg);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.vala-link {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.vala-link:hover {
    transform: scale(0.95);
    color: #231f20;
    text-shadow: 0 0 8px rgba(35, 31, 32, 0.2);
}

/* fullPage.js specific */
.fp-watermark {
    display: none !important;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: #c3ac8f !important;
}

.section {
    overflow-x: hidden !important;
}

.fp-section {
    overflow-x: hidden !important;
}

/* Scroll to top button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(229, 229, 229, 0.5);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    transform: scale(1.05);
    border-color: rgba(35, 31, 32, 0.3);
    background: rgba(255, 255, 255, 0.7);
}

#scrollToTop .arrow-icon {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 2;
}

.progress-ring {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 62px;
    height: 62px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.3s ease;
    stroke: #c3ac8f;
    stroke-width: 2;
    fill: transparent;
    stroke-linecap: round;
}

.progress-ring-bg {
    stroke: rgba(229, 229, 229, 0.4);
    stroke-width: 2;
    fill: transparent;
}

/* === SINGLE POST (blog) === */
.single-post-page {
    font-family: 'Inter', sans-serif;
    background-color: #f6f0da;
    color: #231f20;
    min-height: 100vh;
    overflow-y: auto;
}

.single-post-page body {
    overflow-y: auto;
}

/* === INNER PAGES (blog posts, portfolio) === */
body.inner-page {
    overflow-y: auto;
    background-color: #f6f0da;
    color: #231f20;
    min-height: 100vh;
}

/* Fixed nav for inner pages */
.inner-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(246, 240, 218, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inner-nav-logo {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #231f20;
}

.inner-nav-desktop {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.inner-nav-link {
    color: #231f20;
    font-size: 13px;
}

.inner-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #231f20;
    padding: 0;
    display: none;
}

@media (max-width: 767px) {
    .inner-nav-desktop { display: none; }
    .inner-menu-btn { display: block; }
}

/* Mobile menu on inner pages has dark bg — ensure links are white */
.mobile-menu {
    color: #ffffff;
}

/* Breadcrumb */
.inner-breadcrumb {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #585058;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.inner-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.inner-breadcrumb a:hover {
    color: #231f20;
}

.breadcrumb-sep {
    margin: 0 0.75rem;
    color: #d1ccc8;
}

.breadcrumb-current {
    color: #231f20;
}

/* Scroll-to-top for inner pages */
.inner-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.inner-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.inner-scroll-top:hover {
    border-color: #231f20;
    transform: scale(1.05);
}

/* Archive pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 4rem;
}

.archive-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid #e5e5e5;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #585058;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    border-color: #231f20;
    color: #231f20;
}

.archive-pagination .page-numbers.dots {
    border-color: transparent;
}

/* ── Contact Form 7 overrides ───────────────────────────────────────────────── */

/* Make CF7 field wrappers block so inputs take full width */
.wpcf7-form-control-wrap {
    display: block;
}

/* CF7 forms inside the front-page contact section and contact page */
.fp-contact-form .wpcf7,
.contact-page-form .wpcf7 {
    width: 100%;
}

.fp-contact-form .wpcf7-form,
.contact-page-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
}

/* Validation error tip */
.wpcf7-not-valid-tip {
    display: block;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #c0392b;
    margin-top: 0.35rem;
}

/* Response output (success / error banner) */
.wpcf7-response-output {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    margin-top: 0 !important;
    border: 1px solid currentColor;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #2e7d32;
    border-color: #4caf50;
    background: #f1f8e9;
}

.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-aborted,
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-acceptance-missing {
    color: #c62828;
    border-color: #f44336;
    background: #fff3f3;
}

.wpcf7-response-output.wpcf7-spam-blocked {
    color: #e65100;
    border-color: #ff9800;
    background: #fff8f0;
}

/* Spinner shown during CF7 AJAX submission */
.wpcf7 .wpcf7-spinner {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* 404 page */
body.error404 .inner-nav {
    background: #f6f0da;
}

/* Service page link cards — remove default <a> styling from card wrappers */
a.card-wrapper {
    text-decoration: none;
    color: inherit;
}

a.card-wrapper:hover .service-card {
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

/* ── Admin bar: push inner nav below the WP toolbar ────────────────────────── */
html.admin-bar .inner-nav {
    top: 32px;
}
@media screen and (max-width: 782px) {
    html.admin-bar .inner-nav {
        top: 46px;
    }
}

/* ── Homepage mobile header — fixed at top, mirrors inner-nav behaviour ──── */
@media (max-width: 767px) {
    .hero-section .content-layer > header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        padding: 0.9rem 1.5rem;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid transparent;
        transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
    }
    .hero-section .content-layer > header.header-dark {
        background: rgba(20, 20, 20, 0.92);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom-color: rgba(255, 255, 255, 0.07);
    }
    .hero-section > .content-layer {
        padding-top: 56px;
    }
    html.admin-bar .hero-section .content-layer > header {
        top: 46px;
    }
}

/* ── Journal mosaic grid ────────────────────────────────────────────────────── */
.journal-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}

@media (max-width: 1023px) {
    .journal-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 599px) {
    .journal-mosaic-grid {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }
    /* Override inline grid-column: span 2 on mobile */
    .journal-mosaic-item {
        grid-column: 1 !important;
    }
}

.journal-mosaic-item {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: #1a1814;
    /* aspect-ratio set per class below */
}

.journal-mosaic-item.mosaic-wide  { aspect-ratio: 16 / 9; max-height: 420px; }
.journal-mosaic-item.mosaic-tall  { aspect-ratio: 3 / 4;  max-height: 480px; }

/* On tablet, tall portrait cards become square to avoid very tall columns */
@media (max-width: 1023px) {
    .journal-mosaic-item.mosaic-tall { aspect-ratio: 4 / 3; }
}

@media (max-width: 599px) {
    .journal-mosaic-item.mosaic-wide,
    .journal-mosaic-item.mosaic-tall { aspect-ratio: 4 / 3; }
}

.journal-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.journal-mosaic-item:hover img {
    transform: scale(1.04);
}

.journal-mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(10,8,6,0.92) 0%, rgba(10,8,6,0.35) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.journal-mosaic-date {
    display: block;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.4rem;
}

.journal-mosaic-title {
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.04em;
    font-weight: 400;
    margin: 0;
}

.journal-mosaic-item.mosaic-wide .journal-mosaic-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.journal-mosaic-excerpt {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.35s ease;
    margin-top: 0;
}

.journal-mosaic-item:hover .journal-mosaic-excerpt {
    max-height: 120px;
    margin-top: 0.625rem;
}

.journal-mosaic-excerpt p {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0 0 0.625rem;
}

.journal-mosaic-read-more {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

/* Load More button */
.journal-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: #231f20;
    background: transparent;
    border: 1px solid #d1ccc8;
    padding: 0.875rem 2.5rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
    font-family: inherit;
}

.journal-load-more-btn:hover {
    border-color: #231f20;
}

.journal-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Footer (dark green) ─────────────────────────────────────────────────── */
.fp-footer {
    background-color: #46554b;
    color: #f6f0da;
}
.fp-footer .title-text,
.fp-footer h1, .fp-footer h2, .fp-footer h3,
.fp-footer p,
.fp-footer span,
.fp-footer div {
    color: #f6f0da;
}
.fp-footer .footer-muted {
    color: rgba(246, 240, 218, 0.5);
}
.fp-footer .footer-link {
    color: #f6f0da;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.fp-footer .footer-link:hover {
    opacity: 0.65;
}
.fp-footer .marquee-container {
    border-color: rgba(246, 240, 218, 0.15);
}
.fp-footer .fancy-marquee {
    color: rgba(246, 240, 218, 0.35);
}
.fp-footer .diamond {
    background-color: rgba(246, 240, 218, 0.4);
}

/* ── Footer social icons ─────────────────────────────────────────────────── */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(246, 240, 218, 0.25);
    border-radius: 50%;
    color: #c3ac8f;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.footer-social-icon:hover {
    border-color: #c3ac8f;
    color: #f6f0da;
    background: rgba(195, 172, 143, 0.15);
}

/* ── About section: image hover swap ────────────────────────────────────── */
.about-images-wrapper {
    display: flex;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .about-images-wrapper {
        gap: 2rem;
    }
}

/* On mobile/tablet, about-img-small is hidden — big image takes full width */
@media (max-width: 1023px) {
    .about-img-big {
        width: 100%;
        height: 100%;
    }
}
.about-img-big {
    width: 62%;
    height: 95%;
    flex-shrink: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Video play button ───────────────────────────────────────────────────── */
.about-video-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.play-button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}
/* Reveal play button only after the image curtain animation completes (~1.9s) */
.fp-section.active .about-img-big .play-button-overlay {
    opacity: 1;
    transition: opacity 0.4s ease 1.9s;
}
.play-btn-pulse {
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    animation: play-pulse 2s ease-out infinite;
}
.play-btn-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: play-blink 2.4s ease-in-out infinite;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    padding-left: 4px;
}
@keyframes play-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    50%  { transform: scale(1.5); opacity: 0.25; }
    100% { transform: scale(2);   opacity: 0; }
}
@keyframes play-blink {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.07); }
}

/* ── Our Service section ─────────────────────────────────────────────────── */
.our-service-section,
.fp-section:has(.our-service-section) {
    background-color: #f6f0da;
}
.our-service-img {
    overflow: hidden;
    width: 100%;
}
/* Override curtain-img's height:100% and object-fit:cover — show full image at natural height */
.our-service-img .curtain-img {
    height: auto;
    object-fit: initial;
}

/* ── Portfolio compact image sizes (section 7 combined with footer) ────────── */
.portfolio-img-large {
    width: 100%;
    height: 260px;
    overflow: hidden;
}
.portfolio-img-small {
    width: 100%;
    max-width: 180px;
    height: 180px;
    overflow: hidden;
    margin-left: auto;
}
.portfolio-img-large img,
.portfolio-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Portfolio bottom section ────────────────────────────────────────────── */
.fp-portfolio-bottom {
    border-top: 1px solid #e5e5e5;
}

/* ── Inner-page responsive padding ──────────────────────────────────────── */
.inner-page-main {
    padding: 8rem 2rem 6rem;
}
@media (max-width: 767px) {
    .inner-page-main {
        padding: 5rem 1.25rem 4rem;
    }
}

/* ── Portfolio archive: responsive grid ─────────────────────────────────── */
.portfolio-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (max-width: 599px) {
    .portfolio-archive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ── Mobile overrides (≤ 767px) ─────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Allow native page scroll in fullPage responsive mode */
    body {
        overflow-y: auto !important;
    }

    /* Logo: scale down from the desktop 150px to fit the mobile nav bar */
    .logo img,
    .inner-nav-logo img,
    .footer-logo-img {
        height: 80px !important;
    }

    /* Reset fullPage.js container — clear desktop transforms so sections
       stack as normal block elements instead of overlapping */
    #fullpage {
        transform: none !important;
        -webkit-transform: none !important;
        transition: none !important;
        height: auto !important;
        position: static !important;
    }

    /* Sections: remove absolute positioning and transforms left by fullPage.js */
    .fp-section,
    .section {
        position: relative !important;
        transform: none !important;
        -webkit-transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    /* Let tall sections size to their content so they flow in page scroll */
    .about-section,
    .our-service-section,
    .services-section,
    .blog-section,
    #contact {
        height: auto !important;
        min-height: unset !important;
        overflow: visible !important;
    }

    /* fp-overflow wrappers added by fullPage.js create a scroll jail on mobile
       (user must exhaust inner scroll before outer page can scroll) — remove it */
    .fp-overflow {
        max-height: none !important;
        overflow: visible !important;
        -webkit-overflow-scrolling: auto !important;
    }

    /* Marquee: 5rem is too large on phones */
    .marquee-text {
        font-size: 2.5rem;
    }

    /* Service cards: reduce fixed heights so they don't dominate viewport */
    .service-card {
        min-height: 220px;
    }
    .card-row2 .service-card {
        height: auto;
        min-height: 220px;
    }
    .img-container {
        height: 160px;
        width: 70%;
    }

    /* link-wrapper: 280px is wider than many phone screens minus padding */
    .link-wrapper {
        width: auto;
        min-width: 180px;
    }
    .link-wrapper-white {
        width: auto;
        min-width: 160px;
    }
    .link-wrapper-contact {
        width: auto;
        min-width: 160px;
    }

    /* About: stack images vertically, full width, 9:16 each, no hover swap */
    .about-images-wrapper {
        height: auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem;
    }

    .about-img-big {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 9 / 16;
        transition: none !important;
    }

    /* Portfolio cards: cap heights on phones */
    .journal-card {
        height: 260px !important;
    }

    /* Portfolio: remove fixed height on parent wrapper that forces overflow */
    #portfolio-grid > a {
        height: auto !important;
    }

}

