/*
Theme Name: Flagship Works
Theme URI: https://flagshipworks.in
Author: Flagship Works
Description: Custom Flagship Works kinetic-brutalist theme
Version: 2.0
License: GPL v2 or later
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --yellow: #F5C400; --blue: #29ABE2; --ink: #0B0B0B; --paper: #F2EEE3; }
html { scroll-behavior: smooth; }
body { font-family: 'Archivo', sans-serif; background: var(--ink); color: var(--paper); overflow-x: hidden; cursor: none; }
::selection { background: var(--yellow); color: var(--ink); }

/* Cursor */
.cursor { position: fixed; width: 30px; height: 30px; border: 2px solid var(--yellow); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.15s, height 0.15s, background 0.2s, border-color 0.2s; }
.cursor.big { width: 70px; height: 70px; background: rgba(245, 196, 0, 0.15); }
.cdot { position: fixed; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); }

/* Status Bar */
.statusbar { position: fixed; top: 0; left: 0; right: 0; z-index: 600; display: flex; justify-content: space-between; align-items: stretch; height: 54px; background: rgba(11, 11, 11, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(242, 238, 227, 0.14); font-family: 'Space Mono', monospace; }
.sb-block { display: flex; align-items: center; gap: 10px; padding: 0 1.3rem; border-right: 1px solid rgba(242, 238, 227, 0.12); }
.sb-logo img { height: 30px; width: auto; }
.sb-logo span { font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.5px; cursor: pointer; }
.sb-mid { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.6rem; border-right: 1px solid rgba(242, 238, 227, 0.12); }
.sb-service { background: var(--yellow); color: var(--ink); font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 0.25rem 0.75rem; }
.sb-sep { color: rgba(242, 238, 227, 0.35); font-size: 0.9rem; }

/* Menu Button */
.menu-toggle { display: flex; align-items: center; gap: 12px; padding: 0 1.5rem; background: var(--yellow); color: var(--ink); border: none; cursor: none; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.menu-toggle:hover { background: var(--blue); color: #fff; }
.mt-bars { display: flex; flex-direction: column; gap: 4px; width: 22px; }
.mt-bars span { height: 2.5px; background: currentColor; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.open .mt-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open .mt-bars span:nth-child(2) { opacity: 0; }
.menu-toggle.open .mt-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay Menu */
.overlay { position: fixed; inset: 0; z-index: 590; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 5rem 3rem 3rem; clip-path: inset(0 0 100% 0); transition: clip-path 0.55s cubic-bezier(0.76, 0, 0.24, 1); pointer-events: none; }
.overlay.show { clip-path: inset(0 0 0 0); pointer-events: auto; }
.ov-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(242, 238, 227, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 238, 227, 0.05) 1px, transparent 1px); background-size: 60px 60px; }
.ov-label { font-family: 'Space Mono', monospace; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 1.5rem; position: relative; }
.ov-nav { position: relative; }
.ov-item { display: flex; align-items: center; gap: 1.5rem; padding: 0.4rem 0; text-decoration: none; cursor: none; opacity: 0; transform: translateY(40px); transition: opacity 0.5s, transform 0.5s, color 0.2s; }
.overlay.show .ov-item { opacity: 1; transform: translateY(0); }
.overlay.show .ov-item:nth-child(1) { transition-delay: 0.15s; }
.overlay.show .ov-item:nth-child(2) { transition-delay: 0.23s; }
.overlay.show .ov-item:nth-child(3) { transition-delay: 0.31s; }
.overlay.show .ov-item:nth-child(4) { transition-delay: 0.39s; }
.ov-no { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--blue); min-width: 42px; }
.ov-text { font-family: 'Anton', sans-serif; font-size: clamp(2.5rem, 9vw, 7rem); line-height: 0.92; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px var(--paper); transition: all 0.2s; }
.ov-item:hover .ov-text { color: var(--yellow); -webkit-text-stroke: 2px var(--yellow); transform: translateX(20px); }
.ov-item:hover .ov-no { color: var(--yellow); }
.ov-foot { position: absolute; bottom: 3rem; left: 3rem; right: 3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: 'Space Mono', monospace; font-size: 0.74rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(242, 238, 227, 0.5); }
.ov-foot b { color: var(--yellow); }

/* Rail */
.rail { position: fixed; left: 0; top: 54px; bottom: 0; width: 52px; z-index: 580; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-right: 1px solid rgba(242, 238, 227, 0.12); background: rgba(11, 11, 11, 0.4); }
.rail-text { writing-mode: vertical-rl; font-family: 'Space Mono', monospace; font-size: 0.66rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(242, 238, 227, 0.4); }
.rail-dots { display: flex; flex-direction: column; gap: 14px; }
.rail-dot { width: 10px; height: 10px; border: 1.5px solid rgba(242, 238, 227, 0.4); border-radius: 50%; cursor: none; transition: all 0.2s; }
.rail-dot.active { background: var(--yellow); border-color: var(--yellow); transform: scale(1.3); }
.rail-dot:hover { border-color: var(--yellow); }
.rail-num { writing-mode: vertical-rl; font-family: 'Space Mono', monospace; font-size: 0.66rem; color: var(--blue); letter-spacing: 1px; }

/* Shell */
.shell { margin-left: 52px; position: relative; z-index: 2; }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; padding: 0.5rem 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.mq-y { background: var(--yellow); }
.mq-b { background: var(--blue); }
.mtrack { display: inline-block; animation: scl 24s linear infinite; }
.mtrack.rev { animation: sclr 24s linear infinite; }
.mtrack span { font-family: 'Archivo Expanded', sans-serif; font-weight: 800; color: var(--ink); font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 1.3rem; }
.mtrack span::after { content: '›››'; margin-left: 1.8rem; opacity: 0.5; }
@keyframes scl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sclr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Home */
#home { padding: 88px 0 0; }
.hero { padding: 2.5rem 2rem 0; position: relative; min-height: 78vh; }
.kick { display: flex; align-items: center; gap: 1rem; font-family: 'Space Mono', monospace; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem; }
.kick::before { content: ''; width: 50px; height: 2px; background: var(--blue); }
.giant { font-family: 'Anton', sans-serif; font-size: clamp(3rem, 12.5vw, 11rem); line-height: 0.82; letter-spacing: -2px; text-transform: uppercase; }
.giant .scr { display: inline-block; }
.giant .yel { color: var(--yellow); }
.giant .blu { color: var(--blue); }
.giant .out { -webkit-text-stroke: 2px var(--paper); color: transparent; transition: color 0.3s; }
.giant .out:hover { color: var(--yellow); -webkit-text-stroke: 2px var(--yellow); }
.hrow { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-top: 1.8rem; }
.hdesc { max-width: 430px; font-size: 1.05rem; line-height: 1.6; color: rgba(242, 238, 227, 0.85); }
.hdesc b { color: var(--yellow); font-weight: 600; }
.magnet { display: inline-flex; align-items: center; gap: 0.7rem; background: var(--yellow); color: var(--ink); padding: 1.1rem 1.8rem; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; border: none; cursor: none; transition: background 0.2s; will-change: transform; text-decoration: none; }
.magnet:hover { background: var(--blue); color: #fff; }
.statline { display: flex; margin-top: 3rem; border: 2px solid rgba(242, 238, 227, 0.2); }
.stat { flex: 1; padding: 1.4rem 1.5rem; border-right: 2px solid rgba(242, 238, 227, 0.2); }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Anton', sans-serif; font-size: 3rem; line-height: 1; }
.stat:nth-child(1) .num { color: var(--yellow); }
.stat:nth-child(2) .num { color: var(--blue); }
.stat:nth-child(3) .num { color: var(--paper); }
.stat .lbl { font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.55; margin-top: 0.4rem; }

/* Sections */
.sechead { padding: 5rem 2rem 2rem; }
.stag { display: inline-block; background: var(--yellow); color: var(--ink); font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 0.35rem 0.9rem; margin-bottom: 1.3rem; }
.stitle { font-family: 'Anton', sans-serif; font-size: clamp(2.3rem, 6.5vw, 5rem); line-height: 0.85; text-transform: uppercase; letter-spacing: -1px; }
.stitle .blu { color: var(--blue); }
.stitle .yel { color: var(--yellow); }

/* About Grid */
.agrid { display: grid; grid-template-columns: 1.2fr 1fr; border-top: 2px solid rgba(242, 238, 227, 0.2); }
.aleft { padding: 3rem 2rem; border-right: 2px solid rgba(242, 238, 227, 0.2); }
.aleft p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.4rem; color: rgba(242, 238, 227, 0.88); }
.aleft p .hl { background: var(--yellow); color: var(--ink); padding: 0 5px; }
.aleft p .hlb { background: var(--blue); color: #fff; padding: 0 5px; }
.vlist { margin-top: 2.2rem; }
.vline { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(242, 238, 227, 0.18); font-family: 'Archivo Expanded', sans-serif; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; transition: all 0.2s; cursor: none; }
.vline:hover { padding-left: 1.2rem; color: var(--yellow); }
.vline .vn { font-family: 'Space Mono', monospace; color: var(--blue); font-size: 0.9rem; min-width: 36px; }
.aright { padding: 3rem 2rem; background: var(--blue); color: var(--ink); }
.astat { padding: 1.6rem 0; border-bottom: 2px solid rgba(11, 11, 11, 0.2); }
.astat:last-child { border: none; }
.astat .big { font-family: 'Anton', sans-serif; font-size: 3.6rem; line-height: 0.9; }
.astat .desc { font-family: 'Space Mono', monospace; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.7; margin-top: 0.3rem; }

/* Services Grid */
.sgrid { border-top: 2px solid rgba(242, 238, 227, 0.2); display: grid; grid-template-columns: repeat(2, 1fr); perspective: 1200px; }
.scard { padding: 2.4rem; border-right: 1px solid rgba(242, 238, 227, 0.18); border-bottom: 1px solid rgba(242, 238, 227, 0.18); position: relative; transition: transform 0.25s, background 0.25s; transform-style: preserve-3d; cursor: none; }
.scard:nth-child(2n) { border-right: none; }
.scard:hover { background: var(--yellow); color: var(--ink); }
.scard:hover .sno { color: var(--ink); -webkit-text-stroke: 0; }
.scard:hover .stags { color: var(--ink); }
.sno { font-family: 'Anton', sans-serif; font-size: 2.8rem; line-height: 1; -webkit-text-stroke: 1.5px var(--paper); color: transparent; transition: all 0.2s; }
.stitle2 { font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; margin: 0.8rem 0 0.7rem; }
.sdesc { font-size: 0.95rem; line-height: 1.6; opacity: 0.82; max-width: 92%; }
.stags { margin-top: 1.3rem; font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); transition: color 0.2s; }

/* Contact */
.cwrap { border-top: 2px solid rgba(242, 238, 227, 0.2); display: grid; grid-template-columns: 1fr 1fr; }
.cl { background: var(--yellow); color: var(--ink); padding: 3.4rem 2rem; border-right: 2px solid var(--ink); }
.cl h3 { font-family: 'Anton', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 0.9; text-transform: uppercase; margin-bottom: 1.4rem; }
.cl p { font-size: 1.02rem; line-height: 1.6; margin-bottom: 2.2rem; }
.cd { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; border-top: 2px solid var(--ink); }
.cd .l { font-family: 'Space Mono', monospace; font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.6; min-width: 62px; }
.cd .v { font-family: 'Archivo Expanded', sans-serif; font-weight: 700; font-size: 0.92rem; }
.cr { padding: 3.4rem 2rem; }
.cf { display: flex; flex-direction: column; gap: 1.05rem; }
.cf label { font-family: 'Space Mono', monospace; font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); display: block; margin-bottom: 0.4rem; }
.cf input, .cf textarea, .cf select { width: 100%; background: transparent; border: 2px solid rgba(242, 238, 227, 0.25); color: var(--paper); padding: 0.78rem 1rem; font-family: 'Archivo', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.2s; cursor: none; }
.cf input:focus, .cf textarea:focus, .cf select:focus { border-color: var(--yellow); }
.cf input::placeholder, .cf textarea::placeholder { color: rgba(242, 238, 227, 0.32); }
.cf select option { background: var(--ink); }
.cf textarea { resize: vertical; min-height: 88px; }
.cfrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.csub { background: var(--blue); color: #fff; border: none; padding: 1rem; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; cursor: none; transition: all 0.2s; margin-top: 0.4rem; }
.csub:hover { background: var(--yellow); color: var(--ink); }

/* Footer */
footer { background: var(--ink); padding: 3rem 2rem 2rem; border-top: 2px solid var(--blue); }
.fgiant { font-family: 'Anton', sans-serif; font-size: clamp(2.6rem, 12vw, 10rem); line-height: 0.8; text-transform: uppercase; letter-spacing: -2px; color: transparent; -webkit-text-stroke: 2px rgba(242, 238, 227, 0.25); margin-bottom: 1.5rem; }
.fbot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 2px solid rgba(242, 238, 227, 0.15); padding-top: 1.4rem; }
.fbot .tg { font-family: 'Space Mono', monospace; font-size: 0.74rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.55; }

/* Responsive */
@media (max-width: 760px) {
  .sb-logo span { display: none; }
  .sb-mid { display: none; }
  .menu-toggle { padding: 0 1rem; font-size: 0.72rem; }
  .rail { display: none; }
  .shell { margin-left: 0; }
  .agrid, .sgrid, .cwrap { grid-template-columns: 1fr; }
  .aleft, .cl { border-right: none; border-bottom: 2px solid rgba(242, 238, 227, 0.2); }
  .scard { border-right: none; }
  body { cursor: auto; }
  .cursor, .cdot { display: none; }
  .magnet, .scard, .vline, .cf input, .cf textarea, .cf select, .csub, .menu-toggle, .ov-item, .rail-dot { cursor: auto; }
}
