/* ═══════════════════════════════════════════
   RYVASHA — style.css
   Palette: Deep Navy · Metallic Gold · White
═══════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─── */
:root {
  /* Backgrounds */
  --bg:        #05070f;          /* Deep near-black navy */
  --surface:   #080d1a;          /* Slightly lighter navy */
  --surface2:  #0d1428;          /* Card background */
  --surface3:  #111b33;          /* Elevated surface */

  /* Brand */
  --navy:      #0a1628;
  --gold:      #c9a84c;          /* Metallic gold */
  --gold-light:#e2c06a;          /* Gold highlight */
  --gold-dim:  rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.25);

  /* Text */
  --text:      #f0f2f7;          /* Pure near-white */
  --text-dim:  #8a95a8;          /* Muted charcoal-grey */
  --white:     #ffffff;

  /* Borders */
  --border:    rgba(255,255,255,0.07);
  --border-gold: rgba(201,168,76,0.2);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Syne', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Misc */
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── BASE TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  font-style: italic;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.75;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 110px 0; }

/* ─── GOLD DIVIDER LINE ─── */
.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 32px;
  border-radius: 1px;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(5,7,15,0.88);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: color 0.2s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: transparent !important;
  color: var(--gold) !important;
  font-weight: 500 !important;
  padding: 9px 24px !important;
  border-radius: 2px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
  border: 1px solid var(--gold-border) !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
  text-transform: uppercase !important;
}
.nav-cta:hover {
  background: var(--gold-dim) !important;
  border-color: var(--gold) !important;
  color: var(--gold-light) !important;
}
.nav-cta.active { color: var(--gold) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 6px;
  background: none;
  border: none;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

/* Deep radial navy glow */
#hero::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,22,40,0.9) 0%, transparent 70%);
  top: -300px; right: -300px;
  pointer-events: none;
}

/* Gold accent glow bottom-left */
.hero-blob2 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  bottom: -200px; left: -150px;
  pointer-events: none;
}

/* Subtle grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  padding: 7px 16px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: fadeUp 0.7s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
}

h1.hero-name {
  font-size: clamp(2.4rem, 5.5vw, 6.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
h1.hero-name .line2 {
  display: block;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.02em;
  padding-bottom: 0em;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-dim);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.8;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* Gold CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #05070f;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201,168,76,0.25);
  opacity: 0.92;
}
.btn-primary svg { transition: transform 0.2s; flex-shrink: 0; }
.btn-primary:hover svg:last-child { transform: translateX(3px); }

/* Ghost button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  animation: fadeUp 0.7s 0.4s ease both;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services { background: var(--surface); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 24px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--surface2);
  padding: 36px 32px 68px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { background: var(--surface3); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.75;
  font-weight: 300;
}

.service-arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px; min-height: 44px;
}
.service-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.service-card:hover .service-arrow {
  border-color: var(--gold-border);
  color: var(--gold);
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════════
   HOW I WORK
═══════════════════════════════════════════ */
#how {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#how::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.03) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.how-header { text-align: center; margin-bottom: 80px; }
.how-header .section-label { justify-content: center; }
.how-header .section-label::before { display: none; }
.how-header .section-sub { margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0 auto 28px;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg);
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed var(--gold-border);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about { background: var(--surface); }

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 88px;
  align-items: center;
}

/* LEFT: Identity card */
.about-visual { position: relative; }

.about-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}
/* Gold top-border accent */
.about-card::after {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Photo + initials fallback */
.about-photo-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin-bottom: 22px;
  position: relative;
  flex-shrink: 0;
}

.about-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold-border);
  box-shadow: 0 8px 32px rgba(201,168,76,0.15);
  display: block;
}

/* Shown only when photo fails (via onerror) */
.about-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  font-style: italic;
  color: #05070f;
  position: absolute;
  inset: 0;
  box-shadow: 0 8px 32px rgba(201,168,76,0.2);
}

.about-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  margin-bottom: 4px;
}

.about-card-role {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.skill-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 5px 12px;
  border-radius: 2px;
}

.about-card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.about-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-mini-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1;
}
.about-mini-stat-num span { color: var(--gold); }
.about-mini-stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Floating "Open to work" badge */
.about-floating-badge {
  position: absolute;
  bottom: -18px; right: 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #05070f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}

/* RIGHT: Bio content */
.about-content { padding-top: 8px; }

.about-bio {
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-bio strong {
  color: var(--text);
  font-weight: 500;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}
.about-value-item:hover {
  border-color: var(--gold-border);
  transform: translateX(4px);
}

.about-value-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-value-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  margin-bottom: 3px;
}

.about-value-desc {
  font-size: 0.83rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════ */
#portfolio { background: var(--bg); }

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border-color: var(--gold-border);
}

.project-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--surface3) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(201,168,76,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(201,168,76,0.03) 40px);
}

.coming-soon-badge {
  position: relative;
  z-index: 1;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 2px;
}

.project-info { padding: 22px; }

.project-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 3px 9px;
  border-radius: 2px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  margin-bottom: 7px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact { background: var(--surface); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-left .section-sub { margin-bottom: 36px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.contact-link-item:hover {
  border-color: var(--gold-border);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-wa { background: rgba(37,211,102,0.1); }
.ci-em { background: var(--gold-dim); }

.contact-link-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-link-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-all;
}

/* ─── FORM ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a95a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--surface2); color: var(--text); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: rgba(220,80,80,0.5);
  box-shadow: 0 0 0 3px rgba(220,80,80,0.07);
}

.field-error { font-size: 0.74rem; color: #e07070; display: none; }
.form-group.has-error .field-error { display: block; }

.btn-submit {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #05070f;
  border: none;
  padding: 16px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  -webkit-tap-highlight-color: transparent;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.22);
  opacity: 0.92;
}
.btn-submit:disabled { cursor: default; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

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

.footer-copy { font-size: 0.8rem; color: var(--text-dim); }
.footer-copy strong { color: var(--gold); font-weight: 500; }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-badge, h1.hero-name, .hero-tagline, .hero-actions, .hero-stats {
    animation: none; opacity: 1; transform: none;
  }
  .reveal { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════ */
.mobile-menu {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(5,7,15,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 9vw, 2.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  transition: color 0.2s;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:hover,
.mobile-menu a:active { color: var(--gold); }

.close-menu {
  position: absolute;
  top: 0; right: 0;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 24px;
  min-width: 64px; min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
  z-index: 1;
}
.close-menu:hover,
.close-menu:active { color: var(--text); }
.close-menu svg { pointer-events: none; }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .steps-grid { grid-template-columns: 1fr; gap: 52px; }
  .steps-grid::before { display: none; }
  .step-card { padding: 0 16px; }

  .about-wrap { grid-template-columns: 1fr; gap: 52px; }
  .about-floating-badge { display: none; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 52px; }

  h1.hero-name { font-size: clamp(2.4rem, 4.8vw, 3.6rem); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  section { padding: 76px 0; }
  .container { padding: 0 18px; }

  #hero { padding-top: 72px; }
  .hero-stats { gap: 28px; padding-top: 36px; margin-top: 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }

  .services-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .about-card-stats { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 16px; }

  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — VERY SMALL (≤ 380px)
═══════════════════════════════════════════ */
@media (max-width: 380px) {
  h1.hero-name { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-badge { font-size: 0.68rem; padding: 6px 12px; }
  .stat-num { font-size: 2rem; }
}

/* ─── PRINT ─── */
@media print {
  nav, .mobile-menu, .marquee-wrap, .hero-blob2, .hero-grid { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 24px 0; }
}