/* ─────────────────────────────────────────────────────────
   Alexandra Ivanova — 2D/3D Game Artist Portfolio
   style.css
───────────────────────────────────────────────────────── */

/* ── Reset & Root ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
video { display: block; }

:root {
  --bg:      #07080b;
  --surface: #0f1015;
  --lift:    #161820;
  --border:  rgba(255,255,255,0.09);
  --rule:    rgba(255,255,255,0.08);
  --text:    #f0efeb;
  --muted:   rgba(240,239,235,0.5);
  --dim:     rgba(240,239,235,0.25);
  --glass:   rgba(22,24,35,0.58);
  --glass-b: rgba(255,255,255,0.13);
  --pad:     clamp(1.5rem, 5vw, 4.5rem);
  --max:     1280px;
  --r-pill:  16px;
  --r-card:  12px;
  --r-img:   9px;

  --f-display: 'Anton', sans-serif;
  --f-cond:    'Barlow Condensed', sans-serif;
  --f-body:    'Barlow', sans-serif;

  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ── Light mode ────────────────────────────────────────── */
[data-theme="light"] {
  --bg:      #f4f2ee;
  --surface: #eae7e1;
  --lift:    #dedad3;
  --border:  rgba(0,0,0,0.1);
  --rule:    rgba(0,0,0,0.08);
  --text:    #18160f;
  --muted:   rgba(24,22,15,0.5);
  --dim:     rgba(24,22,15,0.3);
  --glass:   rgba(230,226,218,0.72);
  --glass-b: rgba(0,0,0,0.12);
}

/* Keep hero title readable in light mode */
[data-theme="light"] .hero-title { color: #18160f; text-shadow: 0 2px 30px rgba(255,255,255,.4); }
[data-theme="light"] .hero-bg::after {
  background:
    linear-gradient(to bottom,
      rgba(244,242,238,.25) 0%,
      rgba(244,242,238,.05) 40%,
      rgba(244,242,238,.6) 75%,
      rgba(244,242,238,.95) 92%,
      var(--bg) 100%),
    linear-gradient(to right, rgba(244,242,238,.2) 0%, transparent 60%);
}
[data-theme="light"] .hero-pill { background: rgba(244,242,238,0.75); }
[data-theme="light"] .section-pill { background: rgba(234,231,225,0.82); }
[data-theme="light"] .contact-form-wrap { background: var(--surface); }
[data-theme="light"] .form-input { background: rgba(0,0,0,.04); color: var(--text); }
[data-theme="light"] .form-input::placeholder { color: var(--muted); }
[data-theme="light"] .form-submit { background: var(--text); color: var(--bg); }
[data-theme="light"] .form-submit:hover { background: #2a2820; }
[data-theme="light"] #nav.scrolled { background: rgba(244,242,238,.96); }
[data-theme="light"] .nav-mobile { background: rgba(244,242,238,.98); }
[data-theme="light"] .about-left,
[data-theme="light"] .about-right { background: var(--surface); }
[data-theme="light"] .sw { background: #d8d4cc; }
[data-theme="light"] .bd-cell img { filter: none; }
[data-theme="light"] .contact-big .ghost {
  color: #18160f;
  -webkit-text-stroke: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Utility ───────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; }

.section-wrap {
  padding: 5.5rem var(--pad);
  border-top: 1px solid var(--rule);
}

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.vis { opacity: 1; transform: none; }
.rv.delay-1 { transition-delay: .1s; }
.rv.delay-2 { transition-delay: .2s; }
.rv.delay-3 { transition-delay: .3s; }

/* ── Section Pill Headers ──────────────────────────────── */
.pill-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.section-pill {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.8rem 2.75rem;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
}

/* ── Software Badges ───────────────────────────────────── */
.sw-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.sw {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-cond);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
  overflow: hidden;
  background: #1a1a1a;
}
/* Image fills the badge */
.sw img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

/* ── NEW: Large SW icons for About section ─────────────── */
.sw.sw-lg {
  width: 46px; height: 46px;
  border-radius: 11px;
  font-size: 0.72rem;
}
.sw.sw-lg img {
  padding: 6px;
}

.sw-blender      { background: #e87d0d; }
.sw-zbrush       { background: #c83737; }
.sw-substance    { background: #5a3b5d; }
.sw-marmoset     { background: #3a6e4a; }
.sw-ue5          { background: #1d1d1d; border: 1px solid rgba(255,255,255,.18); }
.sw-unity        { background: #222222; border: 1px solid rgba(255,255,255,.2); }
.sw-maya         { background: #1b7ac4; }
.sw-photoshop    { background: #1473e6; }
.sw-procreate    { background: #2a2a2a; border: 1px solid rgba(255,255,255,.18); }
.sw-figma        { background: #1e1e1e; border: 1px solid rgba(255,255,255,.18); }
.sw-illustrator  { background: #ff7c00; }
.sw-after-effects{ background: #9999ff; }
/* NEW */
.sw-unreal       { background: #0f0f0f; border: 1px solid rgba(255,255,255,.22); }
.sw-canva        { background: #00c4cc; }

/* ── NEW: About section software grid ─────────────────── */
.sw-about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 0.25rem;
}

.sw-about-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sw-name {
  font-family: var(--f-cond);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ── NEW: Spec strip with icon badges ─────────────────── */
.spec-sw {
  display: flex;
  gap: 4px;
  align-items: center;
  padding-top: 3px;
}

/* ── Image Grid ────────────────────────────────────────── */
.img-grid {
  display: grid;
  gap: 5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 5px;
  overflow: hidden;
}
.img-grid.g4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* NEW: single column full-width */
.img-grid.g1  { grid-template-columns: 1fr; }
.img-grid.g2  { grid-template-columns: 1fr 1fr; }
.img-grid.g3  { grid-template-columns: 1fr 1fr 1fr; }
.img-grid.g21 { grid-template-columns: 2fr 1fr; }
.img-grid.g12 { grid-template-columns: 1fr 2fr; }

.img-cell {
  border-radius: var(--r-img);
  overflow: hidden;
  position: relative;
  background: var(--surface);
}

.img-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease);
}
.img-cell:hover img { transform: scale(1.04); }

/* NEW: natural size cell — no forced aspect-ratio crop */
.img-cell.natural {
  height: auto;
}
.img-cell.natural img {
  height: auto;
  object-fit: initial;
}

.img-cell video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Project Header Row ────────────────────────────────── */
.proj-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.proj-title {
  font-family: var(--f-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── Spec Strip ────────────────────────────────────────── */
.spec-strip {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.spec-k {
  font-family: var(--f-cond);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.spec-v {
  font-family: var(--f-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── Video Block ───────────────────────────────────────── */
.video-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: #000;
}

.video-wrap video {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.video-label {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-b);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-family: var(--f-cond);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
  z-index: 2;
}

/* ── Breakdown Grid ────────────────────────────────────── */
.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 5px;
  overflow: hidden;
}

.bd-cell {
  border-radius: var(--r-img);
  overflow: hidden;
  position: relative;
}

.bd-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.bd-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  padding: 1.1rem 0.85rem 0.55rem;
  font-family: var(--f-cond);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  pointer-events: none;
}

/* ── Gap Utilities ─────────────────────────────────────── */
.mt-sm  { margin-top: 5px; }
.mt-med { margin-top: 2rem; }
.mt-lg  { margin-top: 4rem; }

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: linear-gradient(to bottom, rgba(7,8,11,.9) 0%, transparent 100%);
  pointer-events: none;
  transition: background .3s;
}
#nav.scrolled {
  background: rgba(7,8,11,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
#nav > * { pointer-events: auto; }

.nav-logo {
  font-family: var(--f-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--f-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-artstation {
  font-family: var(--f-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  color: var(--text);
  transition: background .2s;
}
.nav-artstation:hover { background: rgba(255,255,255,.15); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: .2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(7,8,11,.98);
  backdrop-filter: blur(16px);
  z-index: 290;
  padding: 5rem var(--pad) 3rem;
  flex-direction: column;
  gap: 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(7,8,11,.35) 0%,
      rgba(7,8,11,.1) 40%,
      rgba(7,8,11,.6) 75%,
      rgba(7,8,11,.95) 92%,
      var(--bg) 100%),
    linear-gradient(to right, rgba(7,8,11,.3) 0%, transparent 60%);
}

.hero-content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 6rem var(--pad) 5rem;
  text-align: center;
  gap: 1.25rem;
}

.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 0.42rem 1.1rem;
}
.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6edb71;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(5.5rem, 18vw, 17rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 60px rgba(0,0,0,.6);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-pill);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.75rem 2.25rem;
}
.hero-pill span {
  font-family: var(--f-cond);
  font-size: clamp(0.85rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-pill .sep {
  width: 1px; height: 1.1rem;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════ */
#about {
  padding: 5.5rem var(--pad);
  border-top: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 5px;
  overflow: hidden;
}

.about-left, .about-right {
  background: var(--surface);
  border-radius: var(--r-img);
  padding: 3rem;
}

/* NEW: Name in single row */
.about-name-single {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* kept for backward compat */
.about-name {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.about-name .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.3);
}

.about-p {
  font-family: var(--f-cond);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 0.9rem;
}
.about-p strong { color: var(--text); font-weight: 600; }

.looking-box {
  margin-top: 1.75rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  background: rgba(255,255,255,.04);
  font-family: var(--f-cond);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.75;
}
.looking-box strong { color: var(--text); font-weight: 700; }

/* NEW: Skills tags */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.skill-tag {
  font-family: var(--f-cond);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  border-radius: 4px;
  transition: all .2s;
}
.skill-tag:hover {
  border-color: rgba(255,255,255,.3);
  color: var(--text);
}

.about-right { display: flex; flex-direction: column; gap: 2rem; }

.skill-group-title {
  font-family: var(--f-cond);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.58rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-family: var(--f-cond);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  gap: 1rem;
}
.skill-row:hover { color: var(--text); }

.skill-track {
  width: 88px; height: 1px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
  position: relative;
}
.skill-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: rgba(255,255,255,.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.skill-fill.on { transform: scaleX(1); }

.edu-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.edu-name {
  font-family: var(--f-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.18rem;
}
.edu-org {
  font-family: var(--f-cond);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.edu-year {
  font-family: var(--f-cond);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — TWO-COLUMN FORM
══════════════════════════════════════════════════════════ */
#contact {
  padding: 6rem var(--pad);
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 100%, rgba(40,60,30,.14) 0%, transparent 60%);
  pointer-events: none;
}

.contact-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  position: relative; z-index: 1;
}

.contact-eyebrow {
  font-family: var(--f-cond);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dim); display: block; margin-bottom: 1rem;
}

.contact-big {
  font-family: var(--f-display);
  font-size: clamp(3rem, 7vw, 8rem);
  line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.contact-big .ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
}

.contact-desc {
  font-family: var(--f-cond);
  font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted); line-height: 1.8;
  margin-bottom: 2.25rem; max-width: 380px;
}

.contact-direct { display: flex; flex-direction: column; }

.contact-direct-link {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-cond);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color .22s, padding-left .22s;
}
.contact-direct-link:first-child { border-top: 1px solid var(--rule); }
.contact-direct-link:hover { color: var(--text); padding-left: 0.5rem; }

.contact-direct-icon {
  font-size: 0.9rem; opacity: .5; flex-shrink: 0;
  transition: opacity .22s;
}
.contact-direct-link:hover .contact-direct-icon { opacity: 1; }
.contact-direct-secondary { font-size: 0.72rem; opacity: .6; }

/* Form card */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2.75rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

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

.form-label {
  font-family: var(--f-cond);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dim);
}

.form-input {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-family: var(--f-cond);
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: border-color .22s, background .22s;
  width: 100%; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--muted); opacity: .6; }
.form-input:focus {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-submit {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--text); color: var(--bg);
  border: none; border-radius: 6px;
  padding: 1rem 1.5rem;
  font-family: var(--f-cond);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: background .22s, transform .18s;
  width: 100%; margin-top: 0.25rem;
}
.form-submit:hover { background: #e8e4d8; transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit-arrow { font-size: 1.1rem; transition: transform .22s; }
.form-submit:hover .form-submit-arrow { transform: translateX(4px); }

/* Status text only — no boxes */
.contact-status {
  font-family: var(--f-cond);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  min-height: 1.2em;
  text-align: center;
  margin-top: 0.25rem;
}


/* ── Theme toggle button ───────────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid var(--rule);
  border-radius: 6px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* Show sun in dark mode, moon in light mode */
.icon-sun  { display: block; }
.icon-moon { display: none; }

[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-l {
  font-family: var(--f-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-r {
  font-family: var(--f-cond);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-top {
  font-family: var(--f-cond);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.footer-top:hover { color: var(--text); }

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

  .img-grid.g2, .img-grid.g3, .img-grid.g21, .img-grid.g12 { grid-template-columns: 1fr; }
  .breakdown-grid { grid-template-columns: 1fr 1fr; }
  .img-grid.g4 { grid-template-columns: 1fr 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-left { border-radius: var(--r-img) var(--r-img) 0 0; }
  .about-right { border-radius: 0 0 var(--r-img) var(--r-img); }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .breakdown-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(4rem, 22vw, 8rem); }
  .about-name-single { font-size: clamp(2.2rem, 10vw, 3.5rem); }
}
