:root {
    --yellow: #e0d32b;
    --dark: #1a1a1a;
    --mid: #2a2a2a;
    --light: #f5f5f0;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
}

/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-ring {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(224, 211, 43, 0.2);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* NAV */
#nav-trigger {
    position: fixed;
    top: 28px;
    right: 32px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    transition: background 0.2s;
}
#nav-trigger:hover {
    background: rgba(0, 0, 0, 0.6);
}
#nav-trigger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
}
#nav-trigger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#nav-trigger.open span:nth-child(2) {
    opacity: 0;
}
#nav-trigger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}
#nav-overlay.open {
    opacity: 1;
    visibility: visible;
}
nav ul {
    list-style: none;
    text-align: center;
}
nav ul li {
    margin: 12px 0;
}
nav ul li a {
    font-family: "Raleway", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: color 0.3s;
}
nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s;
}
nav ul li a:hover {
    color: var(--yellow);
}
nav ul li a:hover::after {
    width: 100%;
}
.nav-credits {
    margin-top: 40px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

/* SECTIONS */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* SECTION LABELS */
.section-label {
    position: absolute;
    top: 36px;
    left: 40px;
    font-family: "Raleway", sans-serif;
    z-index: 10;
}
.section-label-right {
    left: auto;
    right: 40px;
    text-align: right;
}
.section-label .sub {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    font-weight: 400;
}
.section-label .heading {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 200;
    letter-spacing: 0.08em;
    color: var(--white);
    text-transform: uppercase;
}

/* HOME SECTION */
#home {
    background: url("images/hero.jpg") center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
#home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.home-content {
    position: relative;
    z-index: 5;
    padding: 0 clamp(32px, 8vw, 120px);
    animation: fadeUp 1.2s ease both;
}
.home-subheading {
    font-family: "Raleway", sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}
.home-heading {
    font-family: "Raleway", sans-serif;
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 100;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--yellow);
    text-transform: uppercase;
}
.social-bar {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 20px;
    z-index: 5;
}
.social-bar a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}
.social-bar a:hover {
    color: var(--yellow);
}
.scroll-hint {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-hint span {
    font-family: "Raleway", sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--yellow), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

/* ABOUT SECTION */
#about {
    color: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.about-left {
    padding: clamp(80px, 10vh, 140px) clamp(32px, 6vw, 80px);
    display: flex;
    align-items: center;
    position: relative;
    background: var(--light);
}
.about-left .section-label {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 40px;
}
.about-left .section-label .sub {
    color: rgba(0, 0, 0, 0.4);
}
.about-left .section-label .heading {
    color: var(--yellow) !important;
    font-size: clamp(2.8rem, 6vw, 4.4rem) !important;
}
#contact .section-label .heading {
    color: var(--yellow) !important;
    font-size: clamp(2.8rem, 6vw, 4.4rem) !important;
    font-weight: 900;
    letter-spacing: -0.01em;
}
.about-text-block {
    max-width: 500px;
}
.about-eyebrow {
    font-family: "Raleway", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 12px;
}
.about-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 24px;
}
.about-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(0, 0, 0, 0.65);
}
.about-right {
    background: url("images/about.jpg") center/cover no-repeat;
    position: relative;
    min-height: 100vh;
}
.about-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* SERVICES SECTION */
#services {
    background: var(--dark);
    overflow: hidden;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.services-panel {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}
.services-panel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.services-panel:hover .services-panel-bg {
    transform: scale(1.05);
}
.services-panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.3s;
}
.services-panel:hover .services-panel-overlay {
    background: rgba(0, 0, 0, 0.4);
}
.services-panel-content {
    position: relative;
    z-index: 2;
    padding: clamp(32px, 5vw, 60px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.services-panel.light .services-panel-content {
    background: var(--white);
    color: var(--dark);
    padding: clamp(80px, 10vh, 140px) clamp(32px, 6vw, 80px);
}
.svc-num {
    font-family: "Raleway", sans-serif;
    font-size: 5rem;
    font-weight: 100;
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 8px;
}
.svc-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: "Raleway", sans-serif;
}
.svc-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
}
.svc-body {
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.75;
    max-width: 320px;
}
.svc-body li {
    display: flex;
    align-items: center;
    gap: 0.6em;
    padding: 2px 0;
}
.svc-body li::before {
    content: "❯";
    color: var(--yellow);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}
.services-panel.light .svc-num,
.services-panel.light .svc-label,
.services-panel.light .svc-title {
    color: var(--dark);
}

/* SECTION TITLE OVERLAY */
.section-title-overlay {
    position: absolute;
    top: 36px;
    left: 40px;
    z-index: 20;
}

/* WORKS SECTION */
#works {
    background: var(--dark);
    padding: 80px 0 60px;
}
#works .section-label {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 40px 40px;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0 4px;
}
.work-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.work-item-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.work-item:hover .work-item-bg {
    transform: scale(1.08);
}
.work-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
}
.work-item:hover .work-item-overlay {
    background: rgba(0, 0, 0, 0.2);
}
.work-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}
.work-item:hover .work-item-info {
    opacity: 1;
    transform: translateY(0);
}
.work-item-info h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow);
}
.work-item-info span {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* NEWS SECTION */
#news {
    background: var(--light);
    color: var(--dark);
    padding: 80px 40px 60px;
}
#news .section-label .sub {
    color: rgba(0, 0, 0, 0.4);
}
#news .section-label .heading {
    color: var(--dark);
}
.news-scroller-wrap {
    position: relative;
    margin-top: 40px;
}
.news-scroller-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background 0.2s;
}
.news-scroller-arrow:hover {
    background: #8b5cf6;
}
.news-scroller-arrow.left {
    left: -24px;
}
.news-scroller-arrow.right {
    right: -24px;
}
.news-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}
.news-grid::-webkit-scrollbar {
    display: none;
}
.news-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex: 0 0 280px;
}
.news-card-img {
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img {
    transform: scale(1.06);
}
.news-card-body {
    padding: 20px 18px;
    background: var(--white);
}
.news-card-date {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 8px;
}
.news-card-title {
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
}
.news-card-body p {
    font-size: 0.82rem;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 8px;
    line-height: 1.6;
}

/* NEWS MODAL */
.news-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s;
}
.news-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.news-modal {
    background: var(--white);
    color: var(--dark);
    max-width: 600px;
    width: 90%;
    padding: 48px 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.news-modal-backdrop.open .news-modal {
    transform: translateY(0);
}
.news-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.4rem;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.4);
    transition: color 0.2s;
}
.news-modal-close:hover {
    color: var(--dark);
}
.news-modal-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 8px;
}
.news-modal-title {
    font-family: "Raleway", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 20px;
}
.news-modal-body {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.65);
}
.btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 28px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    font-family: "Raleway", sans-serif;
}
.btn:hover {
    background: var(--yellow);
    color: var(--dark);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--dark);
    color: var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

/* CONTACT SECTION */
#contact {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}
.contact-left {
    flex: 1;
    min-height: 100vh;
    background: url("images/contact.jpg") center/cover no-repeat;
    position: relative;
}
.contact-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.contact-right {
    flex: 1;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    padding: clamp(40px, 8vw, 80px);
}
.contact-inner {
    max-width: 440px;
}
.contact-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 600;
    font-family: "Raleway", sans-serif;
    margin-bottom: 8px;
}
.contact-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.3;
}
.contact-meta {
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.8;
    margin-bottom: 32px;
}
.contact-meta a {
    color: var(--dark);
    text-decoration: underline;
}
.contact-form-btn {
    display: inline-block;
    padding: 13px 30px;
    background: var(--dark);
    color: var(--white);
    font-family: "Raleway", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.contact-form-btn:hover {
    background: var(--yellow);
    color: var(--dark);
}

/* CONTACT MODAL */
.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s;
}
.contact-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.contact-modal {
    background: var(--white);
    color: var(--dark);
    max-width: 640px;
    width: 92%;
    padding: 48px 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.contact-modal-backdrop.open .contact-modal {
    transform: translateY(0);
}
.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.4rem;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.3);
    transition: color 0.2s;
    line-height: 1;
}
.contact-modal-close:hover {
    color: var(--dark);
}
.contact-modal h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-field {
    margin-bottom: 16px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--yellow);
}
.form-field textarea {
    height: 120px;
    resize: vertical;
}
.form-submit {
    padding: 13px 36px;
    background: var(--dark);
    color: var(--white);
    border: none;
    font-family: "Raleway", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.form-submit:hover {
    background: var(--yellow);
    color: var(--dark);
}
.form-success {
    display: none;
    text-align: center;
    padding: 24px 0;
}
.form-success h4 {
    font-family: "Raleway", sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 8px;
}
.form-success p {
    color: rgba(0, 0, 0, 0.55);
    font-size: 0.85rem;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #1a1a2e, #3b1f6e, #1a3a5c);
    text-align: center;
    padding: 24px;
    font-family: "Raleway", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-panel {
    grid-column: span 2;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    #about {
        grid-template-columns: 1fr;
    }
    .about-right {
        min-height: 50vh;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-panel {
        min-height: 60vh;
    }
    .industry-panel {
        grid-column: span 1;
    }
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #contact {
        flex-direction: column;
    }
    .contact-left {
        min-height: 40vh;
    }
}
@media (max-width: 600px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    #hero-nails {
        font-size: clamp(3.5rem, 20vw, 6rem) !important;
    }
    .home-subheading {
        font-size: clamp(0.6rem, 3vw, 0.8rem);
    }
}
