/* =========================================================
   LIA SABILA · Portfolio — design system
   Aesthetic: simple, elegant, modern, subtle tech accent
   ========================================================= */

:root {
  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-dark: #0a0e1a;
  --surface: #ffffff;
  --surface-2: #fafafa;

  --text: #0a0a0a;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --muted: #9ca3af;
  --border: #e6e8ec;
  --border-2: #eef0f3;

  /* Tech accent — subtle (not neon) */
  --accent-1: #2563eb; /* blue */
  --accent-2: #0891b2; /* teal-cyan */
  --accent-3: #06b6d4; /* cyan */
  --accent-soft: rgba(37, 99, 235, 0.08);
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08),
    rgba(6, 182, 212, 0.06)
  );

  /* Type */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-1:
    0 1px 2px rgba(10, 14, 26, 0.04), 0 1px 1px rgba(10, 14, 26, 0.03);
  --shadow-2:
    0 8px 24px rgba(10, 14, 26, 0.06), 0 2px 6px rgba(10, 14, 26, 0.04);
  --shadow-3:
    0 30px 60px -20px rgba(10, 14, 26, 0.18),
    0 12px 24px -12px rgba(10, 14, 26, 0.12);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent-1);
  color: #fff;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.section--contact {
  background: var(--bg-dark);
  color: #e6e8ec;
  padding: 120px 0 80px;
}

.section__head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent-1);
}
.section--contact .section__num {
  color: var(--accent-3);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 12px 0 16px;
}
.section__sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 60ch;
}
.section--contact .section__sub {
  color: #b8bdc7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn i,
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.btn--primary:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: #fff;
  transform: translateY(-1px);
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- Utilities ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-2);
  font-weight: 500;
}
.chip--accent {
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.18);
  color: var(--accent-1);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 232, 236, 0.7);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-size: 0.9375rem;
  color: var(--text-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__links a:hover {
  color: var(--text);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--grad);
  transition: right 0.25s ease;
}
.nav__links a:hover::after {
  right: 0;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__cta {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.8125rem;
  color: var(--text-2);
  transition: all 0.2s ease;
}
.lang-toggle:hover {
  border-color: var(--text);
  color: var(--text);
}
.lang-toggle i,
.lang-toggle svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.menu-toggle i,
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.project-card__link i,
.project-card__link svg {
  width: 14px;
  height: 14px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-2);
  background: #fff;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-2);
  font-size: 1rem;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
  background:
    radial-gradient(
      60% 50% at 80% 20%,
      rgba(6, 182, 212, 0.08) 0%,
      rgba(6, 182, 212, 0) 70%
    ),
    radial-gradient(
      50% 40% at 10% 30%,
      rgba(37, 99, 235, 0.07) 0%,
      rgba(37, 99, 235, 0) 70%
    ),
    var(--bg);
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 14, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 26, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse at 50% 0%,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  padding: 40px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-2);
  font-weight: 500;
  box-shadow: var(--shadow-1);
}
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.04);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
}
.hero__title > span {
  display: block;
}
.hero__lede {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__socials {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero__socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  transition: all 0.25s ease;
}
.hero__socials a:hover {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
  transform: translateY(-2px);
}
.hero__socials i,
.hero__socials svg.ic {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
svg.ic {
  display: inline-block;
  vertical-align: middle;
}

/* Hero visual */
.hero__visual {
  position: relative;
}
.hero__photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  border-radius: var(--r-xl);
  overflow: visible;
  isolation: isolate;
}
.hero__photo-glow {
  position: absolute;
  inset: -20px;
  background: var(--grad);
  filter: blur(60px);
  opacity: 0.25;
  border-radius: var(--r-xl);
  z-index: -1;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--bg-dark);
  box-shadow: var(--shadow-3);
}
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  font-size: 0.8125rem;
}
.hero__badge i,
.hero__badge > svg:first-child {
  width: 18px;
  height: 18px;
  color: var(--accent-1);
}
.hero__badge strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}
.hero__badge small {
  color: var(--text-3);
  font-size: 0.75rem;
}
.hero__badge--top {
  top: 24px;
  left: -16px;
  animation: float 6s ease-in-out infinite;
}
.hero__badge--bottom {
  bottom: 32px;
  right: -16px;
  animation: float 6s ease-in-out infinite 1.5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  overflow: hidden;
  background: #fff;
}
.marquee__track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee__track span {
  display: inline-block;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about__story p {
  font-size: 1.0625rem;
  color: var(--text-2);
  margin: 0 0 18px;
}
.about__values {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-1);
  box-shadow: var(--shadow-2);
}
.value-card i,
.value-card svg {
  width: 22px;
  height: 22px;
  color: var(--accent-1);
  margin-bottom: 12px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 6px;
  font-weight: 600;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  margin: 0;
}

.about__side {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.side__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin: 0 0 16px;
}
.side__title--mt {
  margin-top: 28px;
}
.skills-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.skills-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
}
.skills-list i,
.skills-list > li > svg {
  width: 16px;
  height: 16px;
  color: var(--accent-2);
  flex-shrink: 0;
}

.edu-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-top: 12px;
  background: var(--surface-2);
}
.edu-card__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.edu-card__head strong {
  font-family: var(--font-display);
  font-size: 0.9375rem;
}
.edu-card__deg {
  font-size: 0.875rem;
  color: var(--text-2);
  margin: 6px 0 6px;
}
.edu-card__meta {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin: 0;
}

/* ---------- Experience timeline ---------- */
.timeline {
  list-style: none;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-3));
  opacity: 0.4;
}
.timeline__item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 28px;
}
.timeline__dot {
  position: absolute;
  left: 7px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-1);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}
.timeline__card {
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.timeline__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(37, 99, 235, 0.3);
}
.timeline__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.timeline__head h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.timeline__company {
  font-size: 0.9375rem;
  color: var(--accent-1);
  font-weight: 500;
  margin: 4px 0 14px;
}
.timeline__points {
  list-style: none;
  display: grid;
  gap: 8px;
}
.timeline__points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.timeline__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
}
.timeline__points strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: rgba(37, 99, 235, 0.3);
}
.project-card--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.project-card__media {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.project-card__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.project-card__media--alt {
  background:
    radial-gradient(
      80% 60% at 20% 80%,
      rgba(8, 145, 178, 0.2),
      transparent 60%
    ),
    radial-gradient(
      60% 50% at 80% 20%,
      rgba(37, 99, 235, 0.16),
      transparent 60%
    ),
    #0e1424;
}
.project-card__media--feature {
  aspect-ratio: auto;
}

.project-card__mock {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-bar {
  background: #f0f1f4;
  padding: 8px 12px;
  display: flex;
  gap: 6px;
}
.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}
.mock-bar span:nth-child(1) {
  background: #fb7185;
}
.mock-bar span:nth-child(2) {
  background: #fbbf24;
}
.mock-bar span:nth-child(3) {
  background: #34d399;
}
.mock-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 140px;
}
.mock-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
}
.mock-lines {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}
.mock-lines > div {
  height: 8px;
  border-radius: 4px;
  background: #e6e8ec;
}
.mock-lines > div:nth-child(1) {
  width: 80%;
}
.mock-lines > div:nth-child(2) {
  width: 60%;
}
.mock-lines > div:nth-child(3) {
  width: 90%;
}
.mock-cap {
  width: 60px;
  height: 38px;
  background: var(--text);
  border-radius: 6px 6px 0 0;
  position: relative;
}
.mock-cap::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -10px;
  width: 80px;
  height: 14px;
  background: var(--accent-1);
  border-radius: 50%;
}
.mock-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 220px;
}
.mock-grid-3 > div {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
}
.mock-qr {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background:
    linear-gradient(45deg, var(--text) 25%, transparent 25%) 0 0/12px 12px,
    linear-gradient(-45deg, var(--text) 25%, transparent 25%) 0 0/12px 12px,
    #fff;
  border: 4px solid var(--text);
}

.project-card__body {
  padding: 28px;
}
.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.project-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.project-card__body p {
  font-size: 0.9375rem;
  color: var(--text-2);
  margin: 0 0 18px;
}
.project-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 14px;
}
.project-card__meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
  font-weight: 500;
}
.project-card__meta span {
  font-size: 0.875rem;
  color: var(--text);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--accent-1);
  font-weight: 500;
  font-family: var(--font-mono);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.project-card__link i {
  width: 14px;
  height: 14px;
}

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.section--contact .section__title {
  color: #fff;
}
.contact__list {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: #d1d5db;
}
.contact__list i,
.contact__list svg.ic {
  width: 18px;
  height: 18px;
  color: var(--accent-3);
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.contact__list a:hover {
  color: #fff;
}

.contact__form {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #d1d5db;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  font-family: var(--font-body);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(255, 255, 255, 0.06);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #6b7280;
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form .btn--primary {
  background: var(--grad);
  color: #fff;
}
.contact__form .btn--primary:hover {
  background: var(--grad);
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.form-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-mono);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  color: #9ca3af;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: #fff;
  font-weight: 600;
  margin: 0;
}
.footer__role {
  font-size: 0.8125rem;
  margin: 4px 0 0;
  color: #6b7280;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s ease;
}
.footer__socials a:hover {
  color: #fff;
  border-color: var(--accent-3);
}
.footer__socials i,
.footer__socials svg.ic {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}
.footer__copy {
  font-size: 0.75rem;
  margin: 0;
  color: #6b7280;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 32px 0 60px;
  }
  .hero__photo-frame {
    margin: 0 auto;
    max-width: 380px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__side {
    position: static;
  }
  .about__values {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card--feature {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .project-card__media--feature {
    aspect-ratio: 16 / 10;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section {
    padding: 88px 0;
  }
  .section__head {
    margin-bottom: 40px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }
  .nav__links {
    display: none;
  }
  .nav__cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero__title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
  }
  .hero__badge--top {
    left: 8px;
  }
  .hero__badge--bottom {
    right: 8px;
  }
  .timeline__item {
    padding-left: 44px;
  }
  .timeline__card {
    padding: 20px 18px;
  }
  .timeline__head {
    flex-direction: column;
    gap: 4px;
  }
  .project-card__meta {
    grid-template-columns: 1fr;
  }
  .skills-list {
    grid-template-columns: 1fr;
  }
  .contact__form {
    padding: 24px 20px;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
