/* ============================================================
   portfolio-assets.css
   Place in your child-theme root alongside page-home.php
   Enqueue via functions.php (see snippet at bottom of page-home.php)
============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0a0a0a;
  --bg2:     #111111;
  --bg3:     #1a1a1a;
  --accent:  #c8f135;
  --accent2: #a8d420;
  --text:    #f0ede6;
  --muted:   #888880;
  --border:  #2a2a2a;
  --sans:    'Space Grotesk', sans-serif;
  --mono:    'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body.portfolio-home {
  background: var(--bg) !important;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.portfolio-home a { color: inherit; text-decoration: none; }
body.portfolio-home img { display: block; max-width: 100%; }

/* ---- Nav ---- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

#main-nav.scrolled { padding: 0.9rem 3rem; }

.nav-logo {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #0a0a0a !important;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 99;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  transition: color 0.2s, background 0.2s;
}

.nav-mobile a:hover { color: var(--text); background: var(--bg3); }

/* ---- Shared Buttons ---- */
.btn-primary {
  background: var(--accent);
  color: #0a0a0a !important;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.9rem 2rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover { border-color: var(--muted); transform: translateY(-2px); }

/* ---- Section Common ---- */
.portfolio-home section { padding: 6rem 3rem; }

.section-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---- Scroll fade-up ---- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
/*   display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem; */
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,241,53,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,241,53,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.custom-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin: 0 auto;
    align-items: center;
    max-width: 1440px;
    width: 100%;
}

.hero-glow {
  position: absolute;
  top: 20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,241,53,0.07), transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: pf-fadeUp 0.8s ease 0.1s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pf-pulse 2s ease infinite;
}

.hero-heading {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: pf-fadeUp 0.8s ease 0.25s forwards;
}

.hero-heading .line { display: block; }
.hero-heading .accent-word { color: var(--accent); }

.cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: middle;
  animation: pf-blink 1s step-end infinite;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 40ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: pf-fadeUp 0.8s ease 0.4s forwards;
}

.hero-desc strong { color: var(--text); }

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: pf-fadeUp 0.8s ease 0.55s forwards;
}

.hero-socials {
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  animation: pf-fadeUp 0.8s ease 0.65s forwards;
}

.social-link {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  position: relative;
  opacity: 0;
  animation: pf-fadeUp 0.8s ease 0.3s forwards;
}

.hero-card {
  width: 370px;
  background: var(--bg2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-avatar {
  width: 100%;
  height: 280px;
  background: linear-gradient(145deg, #141414, #1e1e1e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}

.hero-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.08) 3px, rgba(0,0,0,0.08) 4px
  );
}

.hero-avatar-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card-body { padding: 1.5rem; }
.hero-card-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.3rem; }

.hero-card-role {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.hero-stat {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.floating-tag {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 2;
}

.tag-1 { top: -18px; right: 24px; animation: pf-float1 4s ease-in-out infinite; }
.tag-2 { bottom: 60px; left: -50px; animation: pf-float2 5s ease-in-out infinite; }

/* ---- Marquee ---- */
.marquee-wrap {
  background: var(--accent);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: pf-marquee 22s linear infinite;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track .dot { color: rgba(0,0,0,0.3); }

/* ---- About ---- */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-text p strong { color: var(--text); }

.about-values { margin-top: 2.5rem; }

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.value-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  min-width: 2rem;
  padding-top: 0.2rem;
}

.value-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.value-desc  { font-size: 0.82rem; color: var(--muted); }

.skill-bars { display: flex; flex-direction: column; gap: 1.6rem; }

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

.skill-bar-name { color: var(--text); }
.skill-bar-pct  { color: var(--accent); }

.skill-bar-track { height: 2px; background: var(--border); }

.skill-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.chip {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Expertise Bento ---- */
.expertise { background: var(--bg2); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.bento-cell {
  background: var(--bg2);
  padding: 2rem;
  transition: background 0.3s;
}
.bento-cell:hover { background: var(--bg3); }

.bc-1 { grid-column: span 5; grid-row: span 2; padding: 2.5rem; }
.bc-2 { grid-column: span 4; }
.bc-3 { grid-column: span 3; }
.bc-4 { grid-column: span 4; }
.bc-5 { grid-column: span 3; }
.bc-6 { grid-column: span 7; }
.bc-7 { grid-column: span 5; }

.bento-icon {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-big-num {
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.bento-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

.bento-big-title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.bento-big-title .accent { color: var(--accent); }

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tool-chip {
  padding: 0.28rem 0.7rem;
  background: rgba(200,241,53,0.08);
  border: 1px solid rgba(200,241,53,0.2);
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--accent);
}

/* ---- Process ---- */
.process { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.process-step {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg2); }

.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.process-step:hover::after { transform: scaleX(1); }

.step-num {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(200,241,53,0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.step-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
.step-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ---- Work ---- */
.work { background: var(--bg2); }

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}

.work-item-wide { grid-column: span 2; aspect-ratio: 16/9; }

.work-mock-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.work-item:hover .work-mock-visual { transform: scale(1.06); }

.mock-browser {
  width: 70%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.mock-bar {
  height: 24px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mock-dot { width: 7px; height: 7px; border-radius: 50%; }

.mock-body {
  height: 90px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-line {
  width: 60%;
  height: 1px;
  background: rgba(200,241,53,0.2);
  position: relative;
}

.mock-line::before {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 30%;
  height: 1px;
  background: rgba(200,241,53,0.4);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.work-item:hover .work-overlay { opacity: 1; }

.work-info {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform 0.35s, opacity 0.35s;
  opacity: 0;
}

.work-item:hover .work-info { transform: translateY(0); opacity: 1; }

.work-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.work-name { font-size: 1rem; font-weight: 600; }

/* ---- Blog ---- */
.blog { background: var(--bg); }

.blog-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.blog-featured {
  background: var(--bg);
  padding: 3rem;
}

.blog-featured-eyebrow {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  background: rgba(200,241,53,0.08);
  border: 1px solid rgba(200,241,53,0.25);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.blog-featured-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog-featured-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.blog-featured-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.blog-list {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.blog-list-item {
  padding: 1.6rem 1.75rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}

.blog-list-item:last-child { border-bottom: none; }
.blog-list-item:hover { background: var(--bg2); }

.blog-item-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.blog-item-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-item-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* ---- Tools ---- */
.tools-strip { background: var(--bg2); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.tool-item {
  background: var(--bg2);
  padding: 2rem;
  transition: background 0.3s;
  cursor: pointer;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.tool-item:hover { background: var(--bg3); }

.tool-item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tool-item-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.tool-item-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ---- Contact ---- */
.contact {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,241,53,0.05), transparent 65%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-big {
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1.5rem 0 1.5rem;
}

.contact-big .accent { color: var(--accent); }

.contact-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 38ch;
  margin-bottom: 2.5rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

.contact-detail-val { font-size: 0.9rem; color: var(--text); }
.contact-detail-val a { transition: color 0.2s; }
.contact-detail-val a:hover { color: var(--accent); }

.contact-form,
.contact-form-wrap { display: flex; flex-direction: column; gap: 1.2rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
}

.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted); }

.form-submit {
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 1rem 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.form-submit:hover { background: var(--accent2); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-feedback {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  display: none;
}

.form-feedback.success { color: var(--accent); border-color: rgba(200,241,53,0.3); }
.form-feedback.error   { color: #ff6b6b;       border-color: rgba(255,107,107,0.3); }
.form-feedback.visible { display: block; }

/* ---- Footer ---- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ---- Keyframe Animations ---- */
@keyframes pf-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pf-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

@keyframes pf-float1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes pf-float2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bc-1 { grid-column: span 6; grid-row: span 1; }
  .bc-2, .bc-3 { grid-column: span 3; }
  .bc-4, .bc-5 { grid-column: span 3; }
  .bc-6, .bc-7 { grid-column: span 6; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)  { border-right: none; }
  .process-step:nth-child(1),
  .process-step:nth-child(2)  { border-bottom: 1px solid var(--border); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #main-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .portfolio-home section { padding: 4rem 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 4rem; gap: 3rem; }
  .hero-right { justify-content: center; }
  .hero-card { width: 100%; max-width: 360px; }
  .tag-2 { left: -10px; }
  .about-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .bento          { grid-template-columns: 1fr; }
  .bc-1,.bc-2,.bc-3,.bc-4,.bc-5,.bc-6,.bc-7 { grid-column: span 1; }
  .process-steps  { grid-template-columns: 1fr; }
  .process-step   { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .work-grid      { grid-template-columns: 1fr; }
  .work-item-wide { grid-column: span 1; aspect-ratio: 4/3; }
  .blog-layout    { grid-template-columns: 1fr; }
  .tools-grid     { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  footer          { flex-direction: column; align-items: flex-start; }
}
