:root {
    --ink: #0C0E12;
    --panel: #15181F;
    --panel-2: #1C2029;
    --paper: #EDEDE9;
    --muted: #888E99;
    --line: #2A2E38;
    --signal: #ff5d30;
    --signal-dim: #7A1F1B;
    --blue: #3D7CFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.mono {
    font-family: 'Space Mono', monospace;
}

.display {
    font-family: 'Space Grotesk', sans-serif;
}

::selection {
    background: var(--signal);
    color: #fff;
}

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

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}
@media (max-width: 576px) {
    .wrap {
        padding: 0 15px;
    }
}

/* focus visibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(12, 14, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.5px;
}

.logo img {
    width: 65px;
    height: 45px;
}

@media (max-width: 576px) {
    .logo {
        font-size: 15px;
    }
    .logo img {
        width: 55px;
        height: 35px;
    }
}

.logo .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.18);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.navlinks {
    display: flex;
    gap: 36px;
    font-size: 14px;
    color: var(--muted);
}

.navlinks a:hover {
    color: var(--paper);
}

.navcta {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 2px;
    transition: border-color .2s, color .2s;
}

.navcta:hover {
    border-color: var(--signal);
    color: var(--signal);
}

@media(max-width:860px) {
    .navlinks {
        display: none;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 80px;
}

.viewfinder {
    position: absolute;
    inset: 24px;
    top: 96px;
    bottom: 40px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: rgba(237, 237, 233, 0.35);
}

.corner.tl {
    top: 0;
    left: 0;
    border-top: 2px solid;
    border-left: 2px solid;
}

.corner.tr {
    top: 0;
    right: 0;
    border-top: 2px solid;
    border-right: 2px solid;
}

.corner.bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.corner.br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.rec-badge {
    position: absolute;
    top: 26px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--signal);
}

.rec-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--signal);
    animation: pulse 1.4s ease-in-out infinite;
}

.timecode {
    position: absolute;
    top: 26px;
    left: 30px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--muted);
}

.hero-content {
    max-width: 900px;
    padding: 0 40px;
}

.eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--muted);
}

h1.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(42px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
}

h1.hero-title .accent {
    color: var(--signal);
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
    background: var(--paper);
    color: var(--ink);
    padding: 15px 28px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .2s, background .2s;
}

.btn-primary:hover {
    background: var(--signal);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--paper);
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
    transition: border-color .2s;
}

.btn-secondary:hover {
    border-color: var(--signal);
}

.status-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0;
    background: rgba(21, 24, 31, 0.5);
}

.status-strip .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 8px;
}

.status-strip .live {
    color: var(--signal);
}

/* ===== SECTION SHARED ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    margin-bottom: 64px;
    max-width: 680px;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--signal);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-tag .n {
    color: var(--muted);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-desc {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin-top: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ABOUT ===== */
.about {
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media(max-width:860px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-frame {
    aspect-ratio: 4/3;
    border: 1px solid var(--line);
    position: relative;
    background: linear-gradient(135deg, var(--panel-2), var(--panel));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-frame .corner {
    border-color: rgba(237, 237, 233, 0.25);
    width: 20px;
    height: 20px;
}

.about-frame .ph-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
}

.about-text p {
    color: #C9CBD1;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.meta-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    font-size: 13px;
}

.meta-row .k {
    font-family: 'Space Mono', monospace;
    color: var(--muted);
    letter-spacing: 1px;
}

.meta-row .v {
    color: var(--paper);
}

.meta-row .v.live {
    color: var(--signal);
    font-family: 'Space Mono', monospace;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

@media(max-width:860px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--ink);
    padding: 44px 34px;
    position: relative;
    transition: background .3s;
}

.service-card:hover {
    background: var(--panel);
}

.service-code {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--signal);
    margin-bottom: 24px;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 14px;
    margin-top: 20px;
}

.service-desc {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media(max-width:860px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.port-item {
    aspect-ratio: 3/4;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    background: var(--panel);
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.port-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 6px);
}

.port-item .corner {
    width: 16px;
    height: 16px;
    border-color: rgba(237, 237, 233, 0.2);
}

.port-tag {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

/* ===== PRODUCTS ===== */
.product-spotlight {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
}

@media(max-width:860px) {
    .product-spotlight {
        grid-template-columns: 1fr;
    }
}

.product-frame {
    aspect-ratio: 16/10;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--panel-2), var(--panel));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 6px); */
}

.product-frame .corner {
    border-color: rgba(237, 237, 233, 0.25);
}

.product-frame-bar {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(237, 237, 233, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    font-size: 16px;
    position: relative;
    z-index: 1;
    transition: border-color .2s, color .2s, transform .2s;
}

.product-frame:hover .play-btn {
    border-color: var(--signal);
    color: var(--signal);
    transform: scale(1.06);
}

.product-tag {
    font-size: 12px;
    color: var(--signal);
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.product-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 14px;
}

.product-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--panel);
    border-top: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

@media(max-width:860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.contact-row .k {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

.contact-row .v {
    font-size: 16px;
}

.contact-row a.v:hover {
    color: var(--signal);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--paper);
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border-radius: 2px;
    width: 100%;
}

.contact-form label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    background: var(--signal);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s;
}

.contact-form button:hover {
    background: #e0362d;
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-inner .mono {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--paper);
}

.service-icon-wrp {
    background: #EDEDE9;
    width: fit-content;
    height: 140px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 4px;
}

.service-icon-wrp img {
    border-radius: 4px;
}

/* ===== MESSAGE POPUP ===== */
.popup-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
    display: flex;
}

.popup-inner {
    background: #303030;
    padding: 20px;
    border-radius: 4px;
    width: 450px;
}

.popup-inner button {
    background: white;
    margin-top: 15px;
    border-radius: 2px;
    border: none;
    height: 35px;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ====== Animated Checkmark ======= */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #0ac989;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .checkmark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #0ac989;
    stroke-miterlimit: 10;
    margin: 0% auto;
    box-shadow: inset 0px 0px 0px #0ac989;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  }
  
  .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px transparent;
    }
  }
  
  .checkmark_mini{
    width: 30px;
    height: 30px;
  }
  /* End Animated Success */