/*
Theme Name: Leo Marinho Coffee
Theme URI: https://leomarinho.com/
Author: Leo Marinho
Author URI: https://leomarinho.com/
Description: Custom WordPress theme for Leo Marinho, specialty coffee consultant, Q Grader and professional coffee trainer.
Version: 1.0.6
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: leo-marinho-coffee
License: GNU General Public License v2 or later
*/

/* ==================================================
   VARIABLES
================================================== */

:root {
    --coffee-black: #0f0b08;
    --coffee-dark: #1b1511;
    --coffee-brown: #6f4e37;
    --coffee-gold: #c89b5b;
    --coffee-cream: #f4e7d7;
    --coffee-light: #faf8f5;

    --white: #ffffff;
    --text: #2b2521;
    --text-muted: #746b65;

    --container: 1280px;
    --radius: 8px;
    --transition: 0.25s ease;
}

/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.admin-bar .site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-right: auto;
    margin-left: auto;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(22, 18, 15, 0.97);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 70px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: auto;
}

.site-title {
    margin: 0;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-title a {
    color: var(--white);
}

.custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.custom-logo {
    display: block;
    width: auto;
    height: 56px;
    max-width: 180px;
    max-height: none;
    object-fit: contain;
    transition:
        opacity var(--transition),
        transform var(--transition);
}

.custom-logo:hover {
    opacity: 0.92;
    transform: scale(1.025);
}

.primary-navigation {
    margin-left: auto;
}

.primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation a {
    position: relative;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: var(--coffee-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
    color: var(--coffee-gold);
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
}

/* ==================================================
   MAIN
================================================== */

.site-main {
    min-height: 60vh;
}

/* ==================================================
   HERO
================================================== */

.hero {
    width: 100%;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 86% 36%,
            rgba(200, 155, 91, 0.13),
            transparent 34%
        ),
        var(--coffee-black);
    color: var(--white);
}

.hero .hero-grid {
    width: min(calc(100% - 48px), var(--container));
    margin-right: auto;
    margin-left: auto;
    padding: 72px 0;
    display: grid !important;
    grid-template-columns: minmax(610px, 1.08fr) minmax(460px, 0.92fr) !important;
    align-items: center;
    gap: 72px;
}

.hero-left {
    width: 100%;
    min-width: 0;
    max-width: 690px;
}

.hero-kicker {
    display: inline-block;
    margin: 0 0 23px;
    color: var(--coffee-gold);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    color: var(--white);
    font-size: clamp(3.7rem, 5vw, 5.35rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-title br {
    display: block;
}

.hero-description {
    max-width: 610px;
    margin: 31px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 35px;
}

.hero-right {
    position: relative;
    width: 100%;
    min-width: 0;
}

.hero-right::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -30px;
    right: -30px;
    width: 72%;
    height: 68%;
    border: 1px solid rgba(200, 155, 91, 0.27);
    border-radius: 20px;
}

.hero-right img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.48);
}

/* ==================================================
   BUTTONS
================================================== */

.button,
.button-outline {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 29px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.button {
    background: var(--coffee-gold);
    color: var(--coffee-black);
}

.button:hover {
    transform: translateY(-2px);
    background: #dfb36f;
    color: var(--coffee-black);
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.42);
    background: transparent;
    color: var(--white);
}

.button-outline:hover {
    transform: translateY(-2px);
    border-color: var(--coffee-gold);
    background: var(--coffee-gold);
    color: var(--coffee-black);
}

/* ==================================================
   TRUST BAR
================================================== */

.trust-bar {
    padding: 23px 0;
    background: #19130f;
    color: #d9c3a6;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-align: center;
    text-transform: uppercase;
}

.trust-bar .container span:nth-child(even) {
    color: var(--coffee-gold);
}

/* ==================================================
   GENERAL CONTENT
================================================== */

.content-section {
    padding: 100px 0;
}

.content-section-light {
    background: var(--coffee-light);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-eyebrow {
    margin: 0 0 12px;
    color: var(--coffee-brown);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--coffee-black);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-description {
    margin: 20px 0 0;
    color: var(--text-muted);
    font-size: 1.08rem;
}
/* ==================================================
   ABOUT LEO
================================================== */

.about-section{
    padding:140px 0;
    background:linear-gradient(
        180deg,
        #F8F5F1 0%,
        #F2ECE4 100%
    );
    position:relative;
    overflow:hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 95px;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 30px 75px rgba(37, 26, 19, 0.16);
}

.about-image-wrap::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -28px;
    left: -28px;
    width: 62%;
    height: 58%;
    border: 1px solid rgba(111, 78, 55, 0.22);
    border-radius: 18px;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-experience {
    position: absolute;
    z-index: 2;
    right: -28px;
    bottom: 38px;
    width: 190px;
    padding: 24px;
    background: var(--coffee-black);
    color: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.about-experience strong {
    display: block;
    color: var(--coffee-gold);
    font-size: 2.5rem;
    line-height: 1;
}

.about-experience span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-content {
    max-width: 650px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--coffee-brown);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.about-title {
    margin: 0;
    color: var(--coffee-black);
    font-size: clamp(2.7rem, 4vw, 4.35rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.about-lead {
    margin: 30px 0 0;
    color: var(--text);
    font-size: 1.16rem;
    line-height: 1.75;
}

.about-text {
    margin: 20px 0 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.about-credentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 38px;
    border-top: 1px solid rgba(43, 37, 33, 0.12);
    border-left: 1px solid rgba(43, 37, 33, 0.12);
}

.credential-item {
    min-height: 118px;
    padding: 22px;
    border-right: 1px solid rgba(43, 37, 33, 0.12);
    border-bottom: 1px solid rgba(43, 37, 33, 0.12);
}

.credential-item span {
    color: var(--coffee-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.credential-item p {
    margin: 12px 0 0;
    color: var(--coffee-black);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.45;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    color: var(--coffee-black);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-link span {
    color: var(--coffee-gold);
    font-size: 1.3rem;
    transition: transform var(--transition);
}

.about-link:hover span {
    transform: translateX(5px);
}

@media (max-width: 1000px) {

    .about-grid {
        gap: 55px;
    }

    .about-image {
        height: 600px;
    }

    .about-experience {
        right: -15px;
    }
}

@media (max-width: 860px) {

    .about-section {
        padding: 90px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .about-image-wrap {
        max-width: 720px;
    }

    .about-image {
        height: 620px;
    }

    .about-content {
        max-width: 760px;
    }
}

@media (max-width: 560px) {

    .about-section {
        padding: 75px 0;
    }

    .about-image-wrap::before {
        display: none;
    }

    .about-image {
        height: 470px;
        border-radius: 12px;
    }

    .about-experience {
        right: 15px;
        bottom: 18px;
        width: 165px;
        padding: 20px;
    }

    .about-experience strong {
        font-size: 2rem;
    }

    .about-title {
        font-size: clamp(2.4rem, 11vw, 3.35rem);
    }

    .about-lead {
        font-size: 1.05rem;
    }

    .about-credentials {
        grid-template-columns: 1fr;
    }

    .credential-item {
        min-height: auto;
    }
}

/* ==================================================
   STANDARD PAGES
================================================== */

.page-content {
    padding: 80px 0;
}

.entry-title {
    margin: 0 0 30px;
    color: var(--coffee-black);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
}

.entry-content {
    max-width: 820px;
}

.entry-content a {
    color: var(--coffee-brown);
    text-decoration: underline;
}

/* =====================================================
   IMPACT
===================================================== */

.impact-section{

    padding:160px 0;

    background:#0F0B08;

    color:#fff;

}

.impact-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 110px;

}

.impact-kicker{

    display:inline-block;

    margin-bottom:22px;

    color:#C89B5B;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.24em;

    text-transform:uppercase;

}

.impact-header h2{

    margin:0;

    color:#fff;

    font-size:clamp(2.8rem,4vw,4.5rem);

    line-height:1.08;

    letter-spacing:-.04em;

}

.impact-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:70px;

    text-align:center;

}

.impact-item strong{

    display:block;

    margin-bottom:20px;

    color:#fff;

    font-size:clamp(4.8rem,7vw,6.5rem);

    font-weight:800;

    line-height:.9;

    letter-spacing:-.05em;

}

.impact-item span{

    display:block;

    margin-bottom:18px;

    color:#C89B5B;

    font-size:.85rem;

    font-weight:700;

    letter-spacing:.22em;

    text-transform:uppercase;

}

.impact-item p{

    max-width:230px;

    margin:0 auto;

    color:rgba(255,255,255,.68);

    font-size:.96rem;

    line-height:1.8;

}

@media(max-width:1000px){

    .impact-grid{

        grid-template-columns:repeat(2,1fr);

        gap:80px 40px;

    }

}

@media(max-width:700px){

    .impact-section{

        padding:100px 0;

    }

    .impact-header{

        margin-bottom:70px;

    }

    .impact-grid{

        grid-template-columns:1fr;

        gap:70px;

    }

}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    padding: 65px 0 30px;
    background: var(--coffee-black);
    color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.footer-title {
    margin: 0;
    color: var(--white);
    font-size: 1.35rem;
}

.footer-description {
    max-width: 500px;
    margin: 16px 0 0;
}

.footer-navigation ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-navigation a:hover {
    color: var(--coffee-gold);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.footer-social a:hover {
    border-color: var(--coffee-gold);
    color: var(--coffee-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

/* ==================================================
   SMALL DESKTOP
================================================== */

@media (max-width: 1230px) {

    :root {
        --container: 1120px;
    }

    .hero .hero-grid {
        grid-template-columns: minmax(520px, 1.04fr) minmax(420px, 0.96fr) !important;
        gap: 52px;
    }

    .hero-title {
        font-size: clamp(3.5rem, 5vw, 4.8rem);
    }

    .hero-right img {
        height: 560px;
    }

    .primary-navigation ul {
        gap: 25px;
    }
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1000px) {

    .header-inner {
        gap: 35px;
    }

    .custom-logo {
        height: 50px;
        max-width: 165px;
    }

    .primary-navigation ul {
        gap: 20px;
    }

    .primary-navigation a {
        font-size: 0.76rem;
    }

    .hero .hero-grid {
        grid-template-columns: minmax(450px, 1fr) minmax(350px, 0.86fr) !important;
        gap: 38px;
    }

    .hero-title {
        font-size: clamp(3.1rem, 5.8vw, 4.2rem);
    }

    .hero-right img {
        height: 510px;
    }
}

/* ==================================================
   MOBILE MENU AND HERO
================================================== */

@media (max-width: 860px) {

    body.admin-bar .site-header {
        top: 46px;
    }

    .header-inner {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 20px;
        padding: 10px 0;
    }

    .custom-logo {
        height: 46px;
        max-width: 150px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 8px 13px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 5px;
        background: transparent;
        color: var(--white);
        cursor: pointer;
    }

    .primary-navigation {
        display: none;
        width: 100%;
        margin-left: 0;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 0 7px;
    }

    .primary-navigation li {
        width: 100%;
    }

    .primary-navigation a {
        display: block;
        padding: 12px 0;
        font-size: 0.8rem;
    }

    .primary-navigation a::after {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero .hero-grid {
        padding: 64px 0;
        grid-template-columns: 1fr !important;
        gap: 50px;
    }

    .hero-left {
        max-width: 720px;
    }

    .hero-title {
        font-size: clamp(3.3rem, 9vw, 4.8rem);
    }

    .hero-description {
        max-width: 640px;
    }

    .hero-right::before {
        top: -20px;
        right: -20px;
    }

    .hero-right img {
        width: 100%;
        height: 580px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-navigation ul {
        justify-content: flex-start;
    }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 560px) {

    .container,
    .hero .hero-grid {
        width: min(calc(100% - 30px), var(--container));
    }

    .hero .hero-grid {
        padding: 48px 0;
        gap: 38px;
    }

    .hero-kicker {
        margin-bottom: 18px;
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    .hero-title {
        font-size: clamp(2.7rem, 12vw, 3.7rem);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .hero-description {
        margin-top: 24px;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        margin-top: 30px;
    }

    .button,
    .button-outline {
        width: 100%;
    }

    .hero-right::before {
        display: none;
    }

    .hero-right img {
        height: 430px;
        border-radius: 12px;
    }

    .trust-bar {
        padding: 19px 0;
    }

    .trust-bar .container {
        flex-direction: column;
        gap: 8px;
        font-size: 0.7rem;
    }

    .trust-bar .container span:nth-child(even) {
        display: none;
    }

    .content-section {
        padding: 75px 0;
    }
}
/* =====================================================
   EXPERTISE
===================================================== */

.expertise-section{

    padding:140px 0;
    background:#ffffff;

}

.expertise-header{

    max-width:760px;
    margin:0 auto 80px;
    text-align:center;

}

.section-label{

    display:inline-block;

    margin-bottom:18px;

    letter-spacing:.22em;

    font-size:.82rem;

    font-weight:700;

    color:#C89B5B;

}

.expertise-header h2{

    margin:0;

    font-size:clamp(2.5rem,4vw,4.3rem);

    line-height:1.08;

    color:#111;

}

.expertise-header p{

    margin:28px auto 0;

    max-width:650px;

    font-size:1.08rem;

    line-height:1.9;

    color:#666;

}

.expertise-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:34px;

}

.expertise-card{

    display:flex;

    flex-direction:column;

    padding:52px;

    background:#fff;

    border:1px solid #ECECEC;

    border-radius:24px;

    text-decoration:none;

    transition:.35s ease;

    min-height:340px;

}

.expertise-card:hover{

    transform:translateY(-10px);

    border-color:#C89B5B;

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.expertise-number{

    font-size:4.4rem;

    font-weight:800;

    line-height:1;

    color:#EFE8DE;

    margin-bottom:34px;

}

.expertise-card h3{

    margin:0 0 18px;

    font-size:1.6rem;

    color:#111;

}

.expertise-card p{

    flex:1;

    margin:0;

    color:#666;

    line-height:1.9;

    font-size:1rem;

}

.expertise-link{

    margin-top:40px;

    display:inline-flex;

    align-items:center;

    gap:10px;

    font-weight:700;

    color:#C89B5B;

    transition:.3s;

}

.expertise-card:hover .expertise-link{

    gap:18px;

}

@media(max-width:900px){

    .expertise-grid{

        grid-template-columns:1fr;

    }

    .expertise-card{

        padding:38px;

        min-height:auto;

    }

    .expertise-number{

        font-size:3.3rem;

    }

}
/* =====================================================
   WORK WITH LEO
===================================================== */

.work-section {
    padding: 150px 0;
    background: #f5f0e9;
    overflow: hidden;
}

.work-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 90px;
}

.work-image-wrap {
    position: relative;
}

.work-image-wrap::before {
    content: "";
    position: absolute;
    top: -28px;
    left: -28px;
    width: 58%;
    height: 54%;
    border: 1px solid rgba(111, 78, 55, 0.2);
    border-radius: 18px;
}

.work-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 720px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(32, 22, 16, 0.16);
}

.work-image-caption {
    position: absolute;
    z-index: 2;
    right: -28px;
    bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 190px;
    padding: 24px 28px;
    background: #0f0b08;
    color: rgba(255, 255, 255, 0.76);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.work-image-caption span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.work-content {
    max-width: 650px;
}

.work-kicker {
    display: inline-block;
    margin-bottom: 22px;
    color: #c89b5b;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.work-title {
    margin: 0;
    color: #0f0b08;
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.work-intro {
    margin: 30px 0 0;
    color: #5f5751;
    font-size: 1.08rem;
    line-height: 1.85;
}

.work-services {
    margin-top: 46px;
    border-top: 1px solid rgba(43, 37, 33, 0.14);
}

.work-service {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    border-bottom: 1px solid rgba(43, 37, 33, 0.14);
    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.work-service:hover {
    padding-left: 10px;
    color: #c89b5b;
}

.work-service-number {
    color: #c89b5b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.work-service-name {
    color: #0f0b08;
    font-size: 1.16rem;
    font-weight: 700;
}

.work-service:hover .work-service-name {
    color: #c89b5b;
}

.work-service-arrow {
    color: #c89b5b;
    font-size: 1.25rem;
    transition: transform 0.25s ease;
}

.work-service:hover .work-service-arrow {
    transform: translateX(6px);
}

.work-description {
    margin: 32px 0 0;
    color: #746b65;
    font-size: 1rem;
    line-height: 1.8;
}

.work-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
    padding: 14px 28px;
    border: 1px solid #c89b5b;
    border-radius: 8px;
    color: #0f0b08;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.work-button:hover {
    transform: translateY(-2px);
    background: #c89b5b;
    color: #0f0b08;
}

.work-button span {
    transition: transform 0.25s ease;
}

.work-button:hover span {
    transform: translateX(5px);
}

@media (max-width: 1000px) {
    .work-grid {
        gap: 55px;
    }

    .work-image {
        height: 620px;
    }

    .work-image-caption {
        right: -15px;
    }
}

@media (max-width: 860px) {
    .work-section {
        padding: 100px 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .work-image-wrap {
        max-width: 760px;
    }

    .work-image {
        height: 620px;
    }

    .work-content {
        max-width: 760px;
    }
}

@media (max-width: 560px) {
    .work-section {
        padding: 75px 0;
    }

    .work-image-wrap::before {
        display: none;
    }

    .work-image {
        height: 470px;
        border-radius: 12px;
    }

    .work-image-caption {
        right: 15px;
        bottom: 18px;
        min-width: 160px;
        padding: 20px;
    }

    .work-title {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
    }

    .work-service {
        grid-template-columns: 42px 1fr auto;
        min-height: 72px;
        gap: 14px;
    }

    .work-service-name {
        font-size: 1rem;
    }

    .work-button {
        width: 100%;
    }
}
/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    position: relative;
    padding: 140px 0;
    background: #f4efe7;
    color: #0f0b08;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background: #0f0b08;
    z-index: 0;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    gap: 100px;
    align-items: start;
}

.contact-content {
    padding-top: 28px;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9b6b34;
}

.contact-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: #c89b5b;
}

.contact-title {
    max-width: 650px;
    margin: 0 0 28px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 500;
    color: #0f0b08;
}

.contact-description {
    max-width: 620px;
    margin: 0;
    font-size: 19px;
    line-height: 1.75;
    color: rgba(15, 11, 8, 0.7);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 72px;
    padding-top: 38px;
    border-top: 1px solid rgba(15, 11, 8, 0.16);
}

.contact-item {
    min-width: 0;
}

.contact-label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9b6b34;
}

.contact-item a,
.contact-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #0f0b08;
}

.contact-item a {
    display: inline-block;
    text-decoration: none;
    word-break: break-word;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-item a:hover {
    color: #9b6b34;
    transform: translateY(-1px);
}

.contact-small {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(15, 11, 8, 0.58);
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-wrap {
    position: relative;
    padding: 58px;
    background: #17110d;
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 11, 8, 0.18);
}

.contact-form-header {
    margin-bottom: 40px;
}

.contact-form-header > span {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c89b5b;
}

.contact-form-header p {
    max-width: 420px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.contact-form {
    display: grid;
    gap: 28px;
}

.contact-field {
    position: relative;
}

.contact-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.contact-field input {
    width: 100%;
    min-height: 58px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 18px;
    transition:
        border-color 0.25s ease,
        color 0.25s ease;
    box-shadow: none;
}

.contact-field input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.contact-field input:focus {
    border-bottom-color: #c89b5b;
}

.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #17110d inset;
    transition: background-color 9999s ease-in-out 0s;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    min-height: 66px;
    margin-top: 12px;
    padding: 0 24px;
    border: 1px solid #c89b5b;
    background: #c89b5b;
    color: #0f0b08;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.contact-submit span {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.contact-submit:hover {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.52);
    transform: translateY(-2px);
}

.contact-submit:hover span {
    transform: translateX(5px);
}

.contact-submit:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}


/* =========================================================
   CONTACT MESSAGES
========================================================= */

.contact-alert {
    margin-bottom: 30px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-alert strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #ffffff;
}

.contact-alert p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.contact-alert-success {
    border-color: rgba(200, 155, 91, 0.7);
    background: rgba(200, 155, 91, 0.11);
}

.contact-alert-error {
    border-color: rgba(255, 145, 120, 0.5);
    background: rgba(255, 145, 120, 0.08);
}


/* =========================================================
   HONEYPOT
========================================================= */

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   CONTACT RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .contact-section {
        padding: 110px 0;
    }

    .contact-section::before {
        width: 38%;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
        gap: 60px;
    }

    .contact-form-wrap {
        padding: 44px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 900px) {

    .contact-section {
        padding: 100px 0;
        background: #f4efe7;
    }

    .contact-section::before {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .contact-content {
        padding-top: 0;
    }

    .contact-description {
        max-width: 720px;
    }

    .contact-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-form-wrap {
        max-width: 720px;
        width: 100%;
    }
}

@media (max-width: 640px) {

    .contact-section {
        padding: 80px 0;
    }

    .contact-title {
        font-size: clamp(42px, 15vw, 62px);
    }

    .contact-description {
        font-size: 17px;
        line-height: 1.7;
    }

    .contact-info {
        grid-template-columns: 1fr;
        margin-top: 48px;
        padding-top: 28px;
    }

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

    .contact-form {
        gap: 24px;
    }

    .contact-field input {
        min-height: 54px;
        font-size: 16px;
    }

    .contact-submit {
        min-height: 62px;
        padding: 0 18px;
        font-size: 12px;
    }
}
.contact-field select,
.contact-field textarea{

    width:100%;
    background:transparent;
    color:#fff;

    border:none;
    border-bottom:1px solid rgba(255,255,255,.28);

    padding:0 0 12px;

    font-size:18px;
    font-family:inherit;

    outline:none;

    resize:vertical;

    transition:.25s;
}

.contact-field textarea{

    min-height:130px;
    padding-top:12px;

}

.contact-field select:focus,
.contact-field textarea:focus{

    border-bottom-color:#C89B5B;

}

.contact-field textarea::placeholder{

    color:rgba(255,255,255,.35);

}
/* ==========================================
   INTEREST CARDS
========================================== */

.interest-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:14px;

margin-top:14px;

}

.interest-grid input{

display:none;

}

.interest-card{

display:flex;

align-items:center;

justify-content:center;

min-height:68px;

padding:18px;

border:1px solid rgba(255,255,255,.16);

background:#201914;

border-radius:10px;

color:rgba(255,255,255,.82);

font-size:14px;

font-weight:700;

letter-spacing:.04em;

cursor:pointer;

transition:.28s;

text-align:center;

}

.interest-card:hover{

border-color:#C89B5B;

color:#C89B5B;

transform:translateY(-3px);

background:#241c15;

}

.interest-grid input:checked + .interest-card{

background:#C89B5B;

border-color:#C89B5B;

color:#0F0B08;

box-shadow:0 12px 35px rgba(200,155,91,.30);

transform:translateY(-3px);

}



/* Keep the final "Other" option visually balanced in the two-column grid */
#other + .interest-card {
    grid-column: 1 / -1;
}

@media(max-width:700px){

.interest-grid{

grid-template-columns:1fr;

}

}

/* Footer social responsive */
@media (max-width: 768px) {
    .footer-right {
        align-items: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }
}


/* v1.0.5 — Social media icon buttons */
.footer-social a {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
}
.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

/* v1.0.6 — Research survey and editable photo gallery */
.leo-survey-section{background:#f5f0e9;padding:75px 0;text-align:center}
.leo-survey-section h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;color:#0f0b08;margin:12px auto 18px;max-width:760px}
.leo-survey-section p{max-width:680px;margin:0 auto 30px;color:#746b65}
.leo-survey-section .button{cursor:pointer}
.leo-gallery-section{padding:100px 0;background:#fff}
.leo-gallery-section h2{text-align:center;color:#0f0b08;margin:0 0 36px;font-size:clamp(2rem,4vw,3rem)}
.leo-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.leo-gallery-grid img{width:100%;height:300px;object-fit:cover;border-radius:12px}
@media(max-width:860px){.leo-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.leo-gallery-grid{grid-template-columns:1fr}.leo-gallery-grid img{height:270px}}
