/* =============================================
   MASKIN DEVELOPMENTS — style.css
   ============================================= */

/* --- VARIABLES --- */
:root {
  --green:       #00FF88;
  --green-10:    rgba(0, 255, 136, 0.10);
  --green-20:    rgba(0, 255, 136, 0.20);
  --green-glow:  rgba(0, 255, 136, 0.06);
  --bg:          #0a0a0a;
  --bg-raised:   #111111;
  --bg-card:     #0f0f0f;
  --white:       #f2f2f2;
  --gray-hi:     #aaaaaa;
  --gray-lo:     #555555;
  --border:      rgba(255, 255, 255, 0.07);
  --border-hi:   rgba(255, 255, 255, 0.12);
  --radius:      2px;
}

/* --- RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-20); }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* =============================================
   CURSOR
   ============================================= */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor.hover  { width: 12px; height: 12px; }
.cursor-ring.hover { width: 48px; height: 48px; border-color: rgba(0, 255, 136, 0.6); }

/* =============================================
   NAV
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-lo);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  border: 1px solid var(--green-20);
  padding: 7px 16px;
  transition: background 0.2s, color 0.2s;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: var(--green-10);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.04) 0%, transparent 65%);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-hi);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.25s forwards;
}

.hero-title .outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  color: transparent;
}

.hero-title .accent { color: var(--green); }

.hero-sub {
  font-size: clamp(12px, 1.5vw, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-hi);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}

.hero-desc {
  font-size: 14px;
  color: var(--gray-lo);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s 0.45s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-lo);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--green-20);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--green);
  animation: scanline 2s ease-in-out infinite;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--green);
  color: #000;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.2s;
  cursor: none;
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(0, 255, 136, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: var(--gray-hi);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
  cursor: none;
}

.btn-ghost:hover {
  border-color: var(--green-20);
  color: var(--white);
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
section { position: relative; z-index: 1; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 56px;
}

.section-num {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.15em;
  opacity: 0.7;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* =============================================
   IDENTITY
   ============================================= */
.identity {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.identity-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 64px;
  align-items: start;
}

.identity-label {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
}

.label-text {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
}

.label-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--green-20), transparent);
}

.identity-body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.identity-quote {
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.65;
  color: var(--gray-hi);
  font-style: italic;
  border-left: 2px solid var(--green);
  padding-left: 28px;
}

.identity-meta {
  display: flex;
  gap: 48px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-key {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-lo);
}

.meta-val {
  font-size: 13px;
  color: var(--white);
}

.meta-val.available {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-val.available::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* =============================================
   FOCUS AREAS
   ============================================= */
.focus {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.focus-card {
  background: var(--bg-card);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.focus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.focus-card:hover { background: #0d0d0d; }
.focus-card:hover::after { opacity: 1; }

.focus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.focus-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.focus-icon svg {
  width: 22px;
  height: 22px;
}

.focus-num {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.12em;
  opacity: 0.4;
}

.focus-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.focus-desc {
  font-size: 12px;
  color: var(--gray-lo);
  line-height: 1.85;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.focus-tags span {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-hi);
  color: var(--gray-lo);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.focus-card:hover .focus-tags span {
  border-color: var(--green-20);
  color: rgba(0, 255, 136, 0.55);
}

/* =============================================
   PROJECTS
   ============================================= */
.projects {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.projects-intro {
  max-width: 560px;
  font-size: 14px;
  color: var(--gray-lo);
  line-height: 1.85;
  margin-bottom: 56px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.project-placeholder {
  background: var(--bg-card);
  aspect-ratio: 4 / 2.4;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.project-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.012) 20px,
    rgba(255,255,255,0.012) 21px
  );
}

.project-placeholder:hover { background: #0d0d0d; }

.pp-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.pp-tag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
}

.pp-label {
  font-size: 11px;
  color: var(--gray-lo);
  letter-spacing: 0.05em;
}

.projects-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  transition: gap 0.2s;
}

.projects-link:hover { gap: 14px; }

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 13px;
  color: var(--gray-lo);
  line-height: 1.85;
  margin-top: 24px;
  max-width: 340px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  border-radius: var(--radius);
  cursor: none;
}

.contact-row:hover {
  border-color: var(--green-20);
  background: var(--bg-raised);
}

.cr-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cr-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.cr-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-lo);
  margin-bottom: 3px;
}

.cr-val {
  display: block;
  font-size: 13px;
  color: var(--white);
}

.cr-arrow {
  font-size: 16px;
  color: var(--gray-lo);
  transition: color 0.2s, transform 0.2s;
}

.contact-row:hover .cr-arrow {
  color: var(--green);
  transform: translateX(4px);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}
.footer-logo span { color: var(--green); }

.footer-copy {
  font-size: 10px;
  color: var(--gray-lo);
  letter-spacing: 0.06em;
}

.footer-top {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-lo);
  transition: color 0.2s;
  cursor: none;
}
.footer-top:hover { color: var(--green); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.06); opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--green); opacity: 1; }
  50%       { box-shadow: 0 0 14px var(--green); opacity: 0.6; }
}

@keyframes scanline {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .container { padding: 0 28px; }
  nav { padding: 20px 28px; }
  .nav-links { display: none; }
  .hero { padding: 0 28px; }
  .hero-scroll-hint { left: 28px; }
  .identity-inner { grid-template-columns: 1fr; gap: 32px; }
  .identity-label { flex-direction: row; align-items: center; }
  .label-line { width: 40px; height: 1px; background: linear-gradient(to right, var(--green-20), transparent); }
  .identity-meta { flex-wrap: wrap; gap: 28px; }
  .focus-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  nav { padding: 18px 20px; }
  .container { padding: 0 20px; }
  .hero { padding: 0 20px; }
  .hero-scroll-hint { display: none; }
}