/* ======================================================
   CYGIXN
   Luxury Portfolio
   Base Styles - Part 1
====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

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

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{

    background:#070707;
    color:#F7F7F7;

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

    line-height:1.5;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;
    width:100%;

}

video{

    display:block;

}

a{

    color:inherit;
    text-decoration:none;

}

button{

    cursor:pointer;
    font:inherit;

}

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

:root{

    --bg:#070707;
    --bg2:#111111;

    --white:#FFFFFF;

    --gray:#BEBEBE;

    --line:rgba(255,255,255,.08);

    --glass:rgba(255,255,255,.05);

    --radius:22px;

    --transition:.45s cubic-bezier(.22,.61,.36,1);

    --max-width:1400px;

}

/* ======================================================
   SELECTION
====================================================== */

::selection{

    background:white;
    color:black;

}

/* ======================================================
   SCROLLBAR
====================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#080808;

}

::-webkit-scrollbar-thumb{

    background:#303030;
    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#555;

}

/* ======================================================
   NAVBAR
====================================================== */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

    padding:24px 5%;

}

.navbar{

    max-width:1500px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    backdrop-filter:blur(18px);

    background:rgba(10,10,10,.28);

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

    border-radius:999px;

    padding:18px 28px;

}

.logo{

    font-size:15px;

    letter-spacing:.35em;

    font-weight:700;

}

.nav-links{

    display:flex;

    gap:42px;

    list-style:none;

}

.nav-links a{

    color:#D9D9D9;

    position:relative;

    font-size:14px;

    letter-spacing:.08em;

    transition:var(--transition);

}

.nav-links a:hover{

    color:white;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-7px;

    width:0;

    height:1px;

    background:white;

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

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

.hero{

    position:relative;

    min-height:85vh;

    overflow:hidden;

    padding-bottom:45px;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:radial-gradient(circle at top center, rgba(255,255,255,.08), transparent 30%);

    opacity:.28;

    pointer-events:none;

    z-index:2;

}

.hero-video{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.video-item {

    width:100%;

}

.video-wrapper {

    width:100%;

    aspect-ratio:16 / 9;

    border-radius:12px;

    overflow:hidden;

}

.video-wrapper iframe {

    width:100%;

    height:100%;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.42) 45%,
        rgba(0,0,0,.70) 100%
    );

}

/* subtle vignette */

.hero::after{

    content:"";

    position:absolute;

    inset:0;

    box-shadow:inset 0 0 250px rgba(0,0,0,.45);

}

.hero.page-hero::before{

    content:"Scroll to explore ↓";

    position:absolute;

    bottom:50px;

    left:50%;

    transform:translateX(-50%);

    color:#BEBEBE;

    letter-spacing:.42em;

    font-size:10px;

    text-transform:uppercase;

    z-index:6;

    opacity:.85;

}

.hero.page-hero::after{

    content:"";

    position:absolute;

    bottom:18px;

    left:50%;

    transform:translateX(-50%);

    width:1px;
    z-index:6;

    height:22px;

    background:rgba(255,255,255,.4);

    box-shadow:0 22px 0 rgba(255,255,255,.4);

}

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

.hero-content{

    position:relative;

    z-index:5;

    height:100%;

    max-width:1450px;

    margin:auto;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:0 7% 80px;

}

.hero-small{

    color:#CFCFCF;

    letter-spacing:.35em;

    font-size:13px;

    margin-bottom:28px;

}

.hero h1{

    font-size:clamp(5rem,10vw,8rem);

    line-height:.92;

    font-weight:800;

    max-width:900px;

    text-transform:uppercase;

    letter-spacing:-4px;

}

.hero p{

    margin-top:42px;

    max-width:560px;

    font-size:20px;

    color:#D3D3D3;

    line-height:1.8;

}

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

.hero-buttons{

    display:flex;

    gap:22px;

    margin-top:50px;

}

.primary-btn{

    padding:18px 34px;

    border-radius:999px;

    background:white;

    color:black;

    font-weight:600;

    transition:var(--transition);

}

.primary-btn:hover{

    transform:translateY(-3px);

}

.secondary-btn{

    padding:18px 34px;

    border-radius:999px;

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

    transition:var(--transition);

}

.secondary-btn:hover{

    background:white;

    color:black;

}

/* ======================================================
   SCROLL INDICATOR
====================================================== */

.scroll-indicator{

    position:absolute;

    bottom:32px;

    left:50%;

    transform:translateX(-50%);

    font-size:12px;

    letter-spacing:.4em;

    color:#BEBEBE;

    opacity:.95;

    z-index:6;

    animation:scrollPulse 1.8s ease-in-out infinite;

}

@keyframes scrollPulse{

    0%,100%{opacity:.95;transform:translateX(-50%) translateY(0);}

    50%{opacity:.55;transform:translateX(-50%) translateY(8px);}

}

/* ======================================================
   GLOBAL SECTIONS
====================================================== */

section{

    position:relative;

    padding:140px 7%;

    background:linear-gradient(180deg, rgba(7,7,7,.98) 0%, rgba(7,7,7,.9) 100%);

    border-top:1px solid rgba(255,255,255,.03);

}

section:not(:first-child){

    margin-top:-36px;

}

section:not(:first-child)::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:80px;

    background:linear-gradient(180deg, rgba(7,7,7,.96), rgba(7,7,7,0));

    transform:skewY(-2deg);

    transform-origin:top left;

    pointer-events:none;

}

.section-title{

    max-width:900px;

    margin-bottom:58px;

    position:relative;

}

.section-title::after{

    content:"";

    position:absolute;

    bottom:-24px;

    left:0;

    width:64px;

    height:3px;

    background:rgba(255,255,255,.12);

    border-radius:999px;

}

.section-title span{

    display:inline-block;

    color:#B7B7B7;

    font-size:13px;

    letter-spacing:.4em;

    margin-bottom:24px;

}

.section-title h2{

    font-size:clamp(3rem,5vw,5.5rem);

    font-weight:800;

    line-height:.95;

    letter-spacing:-2px;

    text-transform:uppercase;

}

/* ======================================================
   FEATURED
====================================================== */

.featured{

    background:#070707;

}

.featured-grid{

    display:grid;

    grid-template-columns:1fr;

    gap:90px;

}

.project{

    position:relative;

    overflow:hidden;

    border-radius:28px;

    cursor:pointer;

    background:#111;

}

.portfolio-item{

    cursor:pointer;

}

.project-image{

    aspect-ratio:16/9;

    overflow:hidden;

}

.project-image img,
.project-image video{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .9s cubic-bezier(.22,.61,.36,1);

}

.project-image video.fullscreen-video,
.project-image video:fullscreen{

    object-fit:contain !important;

    width:100%;

    height:100%;

    background:#000;

}

.project:hover img{

    transform:scale(1.08);

}

.project-info{

    padding:34px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid rgba(255,255,255,.08);

}

.project-title{

    font-size:32px;

    font-weight:700;

}

.project-category{

    color:#9A9A9A;

    margin-top:10px;

}

.project-arrow{

    width:62px;

    height:62px;

    border-radius:50%;

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

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

}

.project:hover .project-arrow{

    background:white;

    color:black;

    transform:rotate(-45deg);

}

/* ======================================================
   PLACEHOLDER
====================================================== */

.featured-placeholder{

    height:520px;

    border-radius:30px;

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

    background:

    linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.01));

    display:flex;

    justify-content:center;

    align-items:center;

    color:#7D7D7D;

    font-size:22px;

}

/* ======================================================
   ABOUT
====================================================== */

.about{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:120px;

    align-items:center;

}

.about p{

    font-size:23px;

    line-height:1.9;

    color:#D2D2D2;

    max-width:700px;

}

.about-card{

    background:#101010;

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

    border-radius:28px;

    padding:50px;

}

.about-card h3{

    font-size:34px;

    margin-bottom:20px;

}

.about-card p{

    font-size:18px;

}

/* ======================================================
   SERVICES
====================================================== */

.services{

    display:grid;

    gap:35px;

}

.service{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:45px 0;

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

    transition:.4s;

}

.service:hover{

    padding-left:18px;

}

.service h3{

    font-size:40px;

}

.service p{

    color:#AFAFAF;

    max-width:420px;

}

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

.contact{

    text-align:center;

    padding-bottom:220px;

}

.contact h2{

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

    line-height:.92;

    letter-spacing:-3px;

    margin-bottom:50px;

}

.contact a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:220px;

    height:70px;

    border-radius:999px;

    background:white;

    color:black;

    font-weight:700;

    transition:.35s;

}

.contact a:hover{

    transform:translateY(-5px);

}

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

footer{

    padding:70px 7%;

    border-top:1px solid rgba(255,255,255,.06);

}

.footer-inner{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.footer-logo{

    font-size:18px;

    letter-spacing:.35em;

    font-weight:700;

}

.footer-links{

    display:flex;

    gap:40px;

}

.footer-links a{

    color:#A8A8A8;

    transition:.3s;

}

.footer-links a:hover{

    color:white;

}

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

.hero.page-hero{

    min-height:75vh;

    padding:160px 7% 90px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

}

.hero.page-hero .hero-content{

    max-width:920px;

    position:relative;

    z-index:3;

}

.hero.page-hero .hero h1{

    font-size:clamp(3.4rem,6vw,5.5rem);

    letter-spacing:-1px;

}

.hero.page-hero .hero p{

    font-size:1.05rem;

    color:#D3D3D3;

    max-width:620px;

    margin:auto;

}

.about-grid,
.contact-grid,
.faq-grid,
.pricing-grid,
.portfolio-grid{

    display:grid;

    gap:30px;

}

.about-grid,
.contact-grid,
.faq-grid,
.pricing-grid{

    grid-template-columns:repeat(3, minmax(240px, 1fr));

}

.portfolio-grid{

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

}

.card,
.faq-item,
.policy-content,
.pricing-card,
.portfolio-item,
.cta-card{

    border-radius:28px;

    background:#101010;

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

    padding:32px;

}

.card h3,
.faq-item h3,
.pricing-card h3{

    font-size:30px;

    margin-bottom:18px;

}

.card p,
.faq-item p,
.policy-content p,
.cta-card p{

    color:#CFCFCF;

    line-height:1.8;

}

.pricing-grid{

    grid-template-columns:repeat(3, minmax(250px, 1fr));

}

.pricing-card{

    padding:40px 34px;

    display:grid;

    gap:22px;

    transition:var(--transition);

}

.pricing-card:hover{

    transform:translateY(-6px);

}

.price{

    font-size:3rem;

    font-weight:800;

    letter-spacing:-1px;

}

.pricing-card ul{

    list-style:none;

    padding-left:0;

    color:#B7B7B7;

    line-height:2;

}

.pricing-card li{

    position:relative;

    padding-left:22px;

}

.pricing-card li::before{

    content:'•';

    position:absolute;

    left:0;

    color:#fff;

}

.service-tag{

    color:#B7B7B7;

    letter-spacing:.2em;

    font-size:12px;

    text-transform:uppercase;

    align-self:flex-start;

}

.portfolio-item{

    overflow:hidden;

    display:grid;

    grid-template-rows:auto 1fr;

}

.portfolio-image{

    min-height:260px;

    background:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));

    display:flex;

    align-items:center;

    justify-content:center;

    color:#7D7D7D;

    font-size:1.05rem;

}

.project-info{

    padding:34px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.project-info h3{

    font-size:28px;

    margin-bottom:8px;

}

.project-info p{

    color:#B7B7B7;

    line-height:1.8;

}

.cta-card{

    display:grid;

    gap:24px;

}

.footer{

    padding:48px 7%;

    background:#080808;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    flex-wrap:wrap;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.footer-brand{

    font-size:14px;

    letter-spacing:.5em;

    font-weight:700;

}

.footer-links{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    align-items:center;

}

.footer-links a{

    color:#B7B7B7;

    font-size:14px;

}

.footer p{

    width:100%;

    max-width:700px;

    color:#8E8E8E;

    margin-top:16px;

}

.page-404{

    min-height:calc(100vh - 120px);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:120px 7%;

}

.page-404-content{

    max-width:720px;

    text-align:center;

    padding:60px;

    background:#111;

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

    border-radius:30px;

}

.page-404-content h1{

    font-size:clamp(3.6rem,8vw,5.6rem);

    margin:24px 0;

}

.page-404-content p{

    color:#C4C4C4;

    margin-bottom:32px;

    font-size:18px;

}

.navbar .menu-toggle{

    display:none;

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

    background:rgba(255,255,255,.08);

    width:44px;

    height:44px;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    padding:0;

    border-radius:14px;

    position:relative;

    z-index:1300;

}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after{

    display:block;

    width:22px;

    height:2px;

    background:#fff;

    position:relative;

    transition:var(--transition);

}

.menu-toggle span::before,
.menu-toggle span::after{

    content:'';

    position:absolute;

    left:0;

}

.menu-toggle span::before{

    top:-7px;

}

.menu-toggle span::after{

    top:7px;

}

.nav-open .menu-toggle span{

    background:transparent;

}

.nav-open .menu-toggle span::before{

    transform:translateY(7px) rotate(45deg);

}

.nav-open .menu-toggle span::after{

    transform:translateY(-7px) rotate(-45deg);

}

/* ======================================================
   DIVIDER
====================================================== */

.divider{

    width:100%;

    height:1px;

    background:rgba(255,255,255,.06);

    margin:140px 0;

}

/* ======================================================
   FILM GRAIN
====================================================== */

body::before{

    content:"";

    position:fixed;

    inset:0;

    pointer-events:none;

    opacity:.025;

    background-image:

    radial-gradient(circle,#fff 1px,transparent 1px);

    background-size:8px 8px;

    mix-blend-mode:overlay;

    z-index:9999;

}

/* ======================================================
   TRANSITIONS
====================================================== */

.project,
.primary-btn,
.secondary-btn,
.service,
.nav-links a,
.contact a{

    transition:all .45s cubic-bezier(.22,.61,.36,1);

}