/* CUSTOM PROPERTIES
------------------------------------------------------------------------------------*/
:root {
    --bg:           #0f0f0f;
    --bg-surface:   #1a1a1a;
    --bg-raised:    #222222;
    --border:       rgba(255, 255, 255, 0.08);
    --text:         #e0dbd4;       /* slightly warm white */
    --text-muted:   #888880;
    --text-faint:   #555550;
    --accent:       #c4956a;       /* warm but restrained */
    --accent-dim:   rgba(196, 149, 106, 0.18);
    --white:        #ffffff;
    --font-body:    'Josefin Sans', 'Open Sans', arial, sans-serif;
    --font-script:  'Great Vibes', Georgia, cursive;
    --transition:   0.25s ease;
    --max-content:  680px;
    --max-wide:     900px;
}


/* RESET
------------------------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body);
       font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
a:hover { color: var(--white); }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px;
           padding: 0; margin: -1px; overflow: hidden;
           clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* TYPOGRAPHY
------------------------------------------------------------------------------------*/
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.3;
    color: var(--white);
}

/* Script heading for section labels */
.section-label {
    font-family: var(--font-script);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.01em;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-label--audio   { color: var(--accent); }
.section-label--video   { color: var(--white);  }
.section-label--gallery { color: var(--accent); }
.section-label--contact { color: var(--white);  }


/* UTILITY
------------------------------------------------------------------------------------*/
.clearFloat { clear: both; }
.section-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 24px;
}
.section-inner--narrow { max-width: 540px; }


/* NAVIGATION
------------------------------------------------------------------------------------*/
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.is-visible {
    transform: translateY(0);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-nav__logo-text {
    font-family: var(--font-script);
    font-size: 2rem;
    line-height: 1;
    color: var(--white);
    opacity: 0.9;
    display: block;
    transition: opacity var(--transition);
}
.site-nav__logo:hover .site-nav__logo-text { opacity: 1; }

.site-nav__links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.site-nav__links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}
.site-nav__links a:hover { color: var(--white); }

/* Hamburger toggle */
.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    width: 34px;
    height: 34px;
}
.site-nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    border-radius: 1px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 620px) {
    .site-nav__toggle { display: flex; }
    .site-nav__links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(12, 12, 12, 0.98);
        border-top: 1px solid var(--border);
        padding: 8px 0 16px;
    }
    .site-nav__links.is-open { display: flex; }
    .site-nav__links a {
        padding: 13px 28px;
        border-bottom: 1px solid var(--border);
    }
}


/* HERO
------------------------------------------------------------------------------------*/
.hero {
    position: relative;
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.30) 50%,
        rgba(0,0,0,0.70) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero__name {
    font-family: var(--font-script);
    font-size: clamp(2rem, 11vw, 4rem);
    font-weight: 400;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 2px 32px rgba(0,0,0,0.55);
    letter-spacing: 0.01em;
    margin: 0;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: clamp(0.68rem, 1.5vw, 0.82rem);
    font-weight: 300;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,1);
    margin: 0;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition);
    animation: bounce 2.4s ease-in-out infinite;
}
.hero__scroll-hint:hover { color: var(--white); }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}


/* ABOUT
------------------------------------------------------------------------------------*/
.section-about {
    padding: 80px 24px 70px;
    max-width: var(--max-content);
    margin: 0 auto;
}

.about-pullquote { margin-bottom: 48px; }

.about-excerpt {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    letter-spacing: 0.01em;
}

.about-bio {
    margin-top: 28px;
    font-size: 0.93rem;
    line-height: 1.85;
    color: var(--text-muted);
    display: none; /* **************************** maybe (temp) ********************/
}
.about-bio p  { margin-bottom: 1em; }
.about-bio strong { color: var(--text); font-weight: 500; }


/* MEDIA FEED
------------------------------------------------------------------------------------*/
.media-feed { padding-bottom: 40px; }

.feed-item {
    padding: 64px 24px;
    border-top: 1px solid var(--border);
    max-width: var(--max-wide);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video */
.feed-video__inner {
    width: 100%;
    max-width: var(--max-wide);
}

.videowrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 3px;
    background: #000;
}
.videowrapper iframe,
.videowrapper video,
.videowrapper object,
.videowrapper embed {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

.feed-item__title {
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

/* Reviews in feed */
.feed-review {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    max-width: var(--max-content);
    margin: 0 auto;
    width: 100%;
}


/* REVIEW QUOTE
------------------------------------------------------------------------------------*/
.review-quote {
    position: relative;
    /*font-family: var(--font-script);
    font-style: italic;*/
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    line-height: 1.65;
    color: var(--text);
    padding: 0 0 0 28px;
    border-left: 2px solid var(--accent);
    margin: 0;
    font-weight: 300;
}
.review-quote p { margin-bottom: 0.4em; font-size: inherit; }
.review-quote p:last-of-type { margin-bottom: 0.8em; }

.review-quote--hero {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    padding-left: 0;
    border-left: 0;
    text-align: center;
}
.review-quote--hero .review-cite {
    display: block;
    text-align: center;
    margin-top: 12px;
}

.review-cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 10px;
}


/* AUDIO PLAYER
------------------------------------------------------------------------------------*/
.had-player {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    width: 100%;
    max-width: 520px;
    margin: 4px 0;
    transition: border-color var(--transition), background var(--transition);
    position: relative;
}

.had-player.is-playing {
    background: var(--bg-raised);
    border-color: rgba(196, 149, 106, 0.35);
}

.had-player__btn {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: transparent;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition), color var(--transition),
                background var(--transition);
    padding: 0;
}
.had-player__btn svg { display: block; pointer-events: none; }
.had-player__btn:hover,
.had-player.is-playing .had-player__btn {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.had-player__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.had-player__title {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.had-player__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.had-player__progress {
    flex: 1;
    cursor: pointer;
    position: relative;
    padding: 8px 0;
    margin: -8px 0;
}
.had-player__progress::before {
    content: '';
    position: absolute;
    inset: 8px 0;
    height: 2px;
    background: rgba(255,255,255,0.10);
    border-radius: 1px;
}

.had-player__bar {
    position: absolute;
    top: 8px; left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.15s linear;
    pointer-events: none;
}
.had-player.is-playing .had-player__bar::after {
    content: '';
    position: absolute;
    right: -4px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.had-player__times {
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.had-player__time,
.had-player__duration,
.had-player__sep {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}
.had-player__sep { margin: 0 1px; }


/* GALLERY
------------------------------------------------------------------------------------*/
.section-gallery {
    padding: 64px 24px 80px;
    border-top: 1px solid var(--border);
}
.section-gallery .section-label { margin-bottom: 40px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-surface);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.3s ease;
    opacity: 0.85;
}
.gallery-item:hover img { transform: scale(1.04); opacity: 1; }

@media (max-width: 540px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}


/* CONTACT
------------------------------------------------------------------------------------*/
.section-contact {
    padding: 64px 24px 80px;
    border-top: 1px solid var(--border);
}
.section-contact .section-label { margin-bottom: 36px; }

/* Contact Form 7 */
.wpcf7 { width: 100%; }
.wpcf7 .wpcf7-form-control-wrap,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea { width: 100%; display: block; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 3px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color var(--transition);
    max-width: 100%;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus { border-color: var(--accent); }
.wpcf7 textarea { min-height: 130px; resize: vertical; }

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 32px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition),
                background var(--transition);
    margin-top: 8px;
}
.wpcf7 input[type="submit"]:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}
.wpcf7 p { margin-bottom: 14px; }
.wpcf7-not-valid-tip { font-size: 0.75rem; color: #e07070; margin-top: 4px; }
.wpcf7-response-output {
    margin-top: 16px; padding: 10px 14px;
    font-size: 0.82rem; border-radius: 3px;
    border: 1px solid var(--border);
}

.wpcf7 form.sent .wpcf7-response-output
 {
    border-color: var(--accent);
}


/* FOOTER
------------------------------------------------------------------------------------*/
.site-footer {
    border-top: 1px solid var(--border);
    padding: 56px 24px 40px;
    text-align: center;
    background: var(--bg);
}

.footer__newsletter { margin-bottom: 40px; }

.footer__newsletter-heading {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 380px;
    margin: 0 auto;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 3px 0 0 3px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 9px 14px;
    outline: none;
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-left: 0;
    border-radius: 0 3px 3px 0;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color var(--transition), color var(--transition),
                background var(--transition);
}
.newsletter-form button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

@media (max-width: 400px) {
    .newsletter-form input[type="email"] { border-radius: 3px; }
    .newsletter-form button { border-left: 1px solid rgba(255,255,255,0.3);
                              border-radius: 3px; }
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition), border-color var(--transition),
                background var(--transition);
}
.footer__social-link:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
}


/* BACK TO TOP
------------------------------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition),
                border-color var(--transition);
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}

.footer__copyright {
    font-size: 0.72rem;
    line-height: 1.9;
    color: var(--text-faint);
    margin: 0;
}
.footer__credit a { color: var(--text-muted); transition: color var(--transition); }
.footer__credit a:hover { color: var(--white); }


/* LIGHTBOX
------------------------------------------------------------------------------------*/
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox__img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
    /* subtle fade-in when src changes */
    transition: opacity 0.18s ease;
}
.lightbox__img.is-loading { opacity: 0; }

/* Close button */
.lightbox__close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    padding: 10px;
    line-height: 0;
    transition: color var(--transition);
}
.lightbox__close svg { width: 30px; height: 30px; }
.lightbox__close:hover { color: var(--white); }

/* Prev / Next arrows — fine ⟨ ⟩ */
.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(220, 220, 220, 0.58);
    cursor: pointer;
    padding: 20px 20px;
    line-height: 0;
    transition: color var(--transition);
}
/* Default arrow size (mobile) */
.lightbox__prev svg,
.lightbox__next svg { width: 30px; height: 30px; }

.lightbox__prev:hover,
.lightbox__next:hover { color: rgba(255, 255, 255, 0.95); }

.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

/* Counter e.g. "3 / 9" */
.lightbox__counter {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

/* Hide arrows when there's only one image */
.lightbox[data-total="1"] .lightbox__prev,
.lightbox[data-total="1"] .lightbox__next { display: none; }

/* Larger arrows on wider screens */
@media (min-width: 900px) {
    .lightbox__prev svg,
    .lightbox__next svg { width: 40px; height: 40px; }
    .lightbox__prev { left: 16px; }
    .lightbox__next { right: 16px; }
}


/* RESPONSIVE
------------------------------------------------------------------------------------*/
@media (max-width: 768px) {
    .section-about   { padding: 56px 20px 48px; }
    .feed-item       { padding: 48px 20px; }
    .feed-review     { padding: 36px 20px; }
    .had-player      { max-width: 100%; }
    .section-gallery { padding: 48px 20px 64px; }
    .section-contact { padding: 48px 20px 64px; }
}

@media (max-width: 480px) {
    .hero__tagline   { letter-spacing: 0.18em; }
    .had-player__title { font-size: 0.72rem; }
    .review-quote    { font-size: 1rem; padding-left: 18px; }
}
