/* =========================
   FONT IMPORT
========================= */

@font-face {
    font-family: 'Roman Serif';
    src: url('assets/fonts/RomanSerif.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roman Serif';
    src: url('assets/fonts/RomanSerif-Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* =========================
   GLOBAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 52px;
    position: sticky;
    top: 0;
    background: rgba(5,5,5,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    z-index: 1000;
}

.logo img {
    height: 46px;
    width: auto;
    display: block;
}

.navbar nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 46px;
}

.navbar nav a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transition: 0.35s;
}

.navbar nav a:hover {
    color: #c8a96a;
}

.nav-cta {
    text-decoration: none;
    color: #c8a96a;
    border: 1.5px solid rgba(200,169,106,0.38);
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 11px;
    letter-spacing: 1.75px;
    text-transform: uppercase;
    transition: 0.35s;
}

.nav-cta:hover {
    background: rgba(200,169,106,0.06);
    border-color: rgba(200,169,106,0.66);
}

/* =========================
   BUTTONS
========================= */

.btn-outline,
.btn-primary {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.85px;
    font-size: 11px;
    font-weight: 500;
    padding: 14px 29px;
    border-radius: 7px;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.btn-outline {
    border: 2px solid rgba(200,169,106,0.42);
    color: #c8a96a;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(200,169,106,0.07);
    border-color: rgba(200,169,106,0.72);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #c8a96a, #a88349);
    color: #050505;
    border: 1px solid rgba(200,169,106,0.9);
    box-shadow:
        0 4px 16px rgba(200,169,106,0.065),
        inset 0 1px 0 rgba(255,255,255,0.16);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 7px 20px rgba(200,169,106,0.10),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(8px, 0.82vw, 16px);
    padding:
        clamp(21px, 2.5vw, 41px)
        clamp(35px, 3.3vw, 60px)
        clamp(8px, 0.3vw, 4px)
        clamp(35px, 3.3vw, 60px);

}


.hero-text {
    width: 42%;
    margin-top: clamp(-5px, -0.35vw, 0px);
}

.hero h1 {
    font-family: 'Roman Serif', Georgia, serif;
    font-size: clamp(47px, 4vw, 70px);
    line-height: 1.1;
    font-weight: normal;
    margin: 0;
    letter-spacing: -1px;
    color: #f5f1e8;
}

.hero h1 span {
    color: #c8a96a;
}

.hero p {
    color: rgba(245,241,232,0.62);
    margin-top: clamp(16px, 1.25vw, 21px);
    font-size: clamp(13px, 0.92vw, 15px);
    line-height: 1.8;
    max-width: 478px;
}

.hero-buttons {
    margin-top: clamp(21px, 1.65vw, 29px);
    display: flex;
    gap: clamp(10px, 0.82vw, 14px);
}

.hero-image {
    width: 58%;
    height: clamp(276px, 21.5vw, 418px);
    background-image: url('assets/images/chess.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
    position: relative;
    opacity: 0.96;
}

/* =========================
   SERVICES
========================= */

.services {
    display: flex;
    justify-content: space-between;
    gap: clamp(14px, 1.22vw, 23px);
    padding: 14px clamp(35px, 3.3vw, 60px) 13px clamp(35px, 3.3vw, 60px);
}

.card {
    background: rgba(255,255,255,0.01);
    padding: 23px 25px;
    width: 32%;
    border: 1px solid rgba(200,169,106,0.07);
    min-height: 184px;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.card::before,
.card::after {
    border-radius: 8px;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(200,169,106,0.05) 0%, rgba(200,169,106,0.18) 10%, rgba(200,169,106,0.04) 24%, rgba(200,169,106,0.015) 50%, rgba(200,169,106,0.14) 66%, rgba(200,169,106,0.025) 82%, rgba(200,169,106,0.04) 100%) top / 100% 1px no-repeat,
        linear-gradient(to bottom, rgba(200,169,106,0.09) 0%, rgba(200,169,106,0.022) 22%, rgba(0,0,0,0) 65%) left / 1px 100% no-repeat,
        linear-gradient(to right, rgba(200,169,106,0.02) 0%, rgba(0,0,0,0) 55%, rgba(200,169,106,0.01) 100%) bottom / 100% 1px no-repeat;
}

.card::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    pointer-events: none;
    background:
        radial-gradient(circle at 9% 50%, rgba(200,169,106,0.09), rgba(200,169,106,0) 24%),
        radial-gradient(circle at 66% 50%, rgba(200,169,106,0.065), rgba(200,169,106,0) 20%);
    filter: blur(2.5px);
    opacity: 0.68;
}

.card:hover {
    border-color: rgba(200,169,106,0.20);
    transform: translateY(-4px);
}

.card-icon {
    width: 47px;
    height: 47px;
    margin-bottom: 14px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card h3 {
    font-family: 'Roman Serif', serif;
    color: #d7b06a;
    font-size: 22px;
    font-weight: normal;
    margin: 0 0 10px 0;
}

.card p {
    color: rgba(245,241,232,0.62);
    line-height: 1.75;
    font-size: 14px;
    margin-bottom: 17px;
}

.card a {
    text-decoration: none;
    color: #c8a96a;
    font-size: 11px;
    letter-spacing: 1.8px;
}

/* =========================
   HALVERN STANDARD
========================= */

.halvern-standard {
    margin: 6px clamp(35px, 3.3vw, 60px) 49px clamp(35px, 3.3vw, 60px);
    padding: 25px 31px;
    border: 1px solid rgba(200,169,106,0.10);
    background: rgba(255,255,255,0.01);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.halvern-standard::before,
.halvern-standard::after {
    border-radius: 8px;
}

.halvern-standard::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(200,169,106,0.06) 0%, rgba(200,169,106,0.24) 8%, rgba(200,169,106,0.05) 22%, rgba(200,169,106,0.02) 48%, rgba(200,169,106,0.20) 63%, rgba(200,169,106,0.03) 78%, rgba(200,169,106,0.06) 100%) top / 100% 1px no-repeat,
        linear-gradient(to bottom, rgba(200,169,106,0.11) 0%, rgba(200,169,106,0.028) 18%, rgba(200,169,106,0.012) 42%, rgba(0,0,0,0) 70%) left / 1px 100% no-repeat,
        linear-gradient(to right, rgba(200,169,106,0.025) 0%, rgba(200,169,106,0.012) 30%, rgba(0,0,0,0) 60%, rgba(200,169,106,0.012) 100%) bottom / 100% 1px no-repeat;
}

.halvern-standard::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    pointer-events: none;
    background:
        radial-gradient(circle at 7% 50%, rgba(200,169,106,0.10), rgba(200,169,106,0) 24%),
        radial-gradient(circle at 63% 50%, rgba(200,169,106,0.075), rgba(200,169,106,0) 20%);
    filter: blur(2.5px);
    opacity: 0.66;
}

.standard-left h3 {
    margin: 0 0 14px 0;
    font-family: 'Roman Serif', serif;
    font-size: 29px;
    font-weight: normal;
    color: #d7b06a;
}

.standard-points {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
}

.standard-points span {
    font-size: 11px;
    letter-spacing: 1.8px;
    color: rgba(245,241,232,0.75);
}

.standard-btn {
    text-decoration: none;
    color: #c8a96a;
    border: 1.5px solid rgba(200,169,106,0.42);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 1.8px;
    min-width: 240px;
    text-align: center;
    transition: 0.35s;
}

.standard-btn:hover {
    background: rgba(200,169,106,0.06);
    transform: translateY(-2px);
}

/* =========================
   GENERIC SECTIONS
========================= */

.section {
    padding: 84px clamp(35px, 3.3vw, 60px);
    text-align: center;
}

.section h2 {
    font-family: 'Roman Serif', serif;
    font-size: 47px;
    font-weight: normal;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
    color: #f5f1e8;
}

.section p {
    max-width: 690px;
    margin: auto;
    color: rgba(245,241,232,0.7);
    font-size: 16px;
    line-height: 1.8;
}

.dark {
    background: #090909;
}

.contact-final {
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* =========================
   ABOUT POPULATED SECTION
========================= */

.about-ribbon {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 34px;
    margin-bottom: 38px;
}

.about-ribbon span {
    font-size: 11px;
    letter-spacing: 1.9px;
    color: #b89558;
    opacity: 0.9;
    position: relative;
}

.about-ribbon span:not(:last-child)::after {
    content: "•";
    margin-left: 24px;
    color: rgba(200,169,106,0.45);
}

.about-proof-cards {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
}

.proof-card {
    width: 32%;
    padding: 26px 22px;
    border: 1px solid rgba(200,169,106,0.10);
    background: rgba(255,255,255,0.01);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.proof-card h3 {
    font-family: 'Roman Serif', serif;
    font-size: 33px;
    color: #d7b06a;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.proof-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(245,241,232,0.62);
    margin: 0;
}

.about-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
}

.about-signature span {
    width: 90px;
    height: 1px;
    background: rgba(200,169,106,0.18);
}

.about-signature p {
    margin: 0;
    max-width: none;
    font-size: 14px;
    color: #b89558;
}

/* =========================
   RESULTS FRAMEWORK
========================= */

.results-framework {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
}

.framework-step {
    width: 19%;
    padding: 24px 16px;
    border: 1px solid rgba(200,169,106,0.10);
    background: rgba(255,255,255,0.01);
    border-radius: 8px;
    transition: 0.35s;
}

.framework-step:hover {
    transform: translateY(-4px);
    border-color: rgba(200,169,106,0.22);
}

.framework-step h3 {
    font-family: 'Roman Serif', serif;
    font-size: 26px;
    color: #c8a96a;
    margin-bottom: 10px;
    font-weight: normal;
}

.framework-step h4 {
    font-family: 'Roman Serif', serif;
    font-size: 22px;
    color: #f5f1e8;
    margin-bottom: 12px;
    font-weight: normal;
}

.framework-step p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(245,241,232,0.62);
}

.results-bottom-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 32px;
}

.results-bottom-line span {
    width: 90px;
    height: 1px;
    background: rgba(200,169,106,0.18);
}

.results-bottom-line p {
    margin: 0;
    max-width: none;
    font-size: 14px;
    color: #b89558;
}

/* =========================
   HALVERN METHOD GRID
========================= */

.method-grid {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
}

.method-card {
    width: 24%;
    padding: 28px 20px;
    border: 1px solid rgba(200,169,106,0.10);
    background: rgba(255,255,255,0.01);
    border-radius: 8px;
    transition: 0.35s;
}

.method-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,169,106,0.22);
}

.method-card h3 {
    font-family: 'Roman Serif', serif;
    font-size: 24px;
    color: #c8a96a;
    margin-bottom: 10px;
    font-weight: normal;
}

.method-card h4 {
    font-family: 'Roman Serif', serif;
    font-size: 22px;
    color: #f5f1e8;
    margin-bottom: 14px;
    font-weight: normal;
}

.method-card p {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(245,241,232,0.62);
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width: 900px){

    .about-proof-cards,
    .results-framework,
    .method-grid {
        flex-direction: column;
    }

    .proof-card,
    .framework-step,
    .method-card {
        width: 100%;
    }

    .about-ribbon {
        gap: 10px;
    }

    .about-ribbon span:not(:last-child)::after {
        display: none;
    }
}

/* =========================
   CONTACT MODAL
========================= */

.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 520px;
    background: #0b0b0b;
    border: 1px solid rgba(200,169,106,0.18);
    border-radius: 12px;
    padding: 42px;
    position: relative;
    animation: modalFade 0.25s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    color: #c8a96a;
    cursor: pointer;
}

.modal-content h2 {
    font-family: 'Roman Serif', serif;
    font-size: 38px;
    font-weight: normal;
    color: #f5f1e8;
    margin-bottom: 12px;
}

.modal-content p {
    color: rgba(245,241,232,0.65);
    line-height: 1.7;
    margin-bottom: 28px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(200,169,106,0.12);
    border-radius: 8px;
    padding: 16px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: rgba(200,169,106,0.42);
}

#contactForm textarea {
    min-height: 140px;
    resize: vertical;
}

#contactForm button {
    margin-top: 10px;
    cursor: pointer;
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 43px;
    color: rgba(245,241,232,0.35);
    border-top: 1px solid rgba(255,255,255,0.04);
}