:root {
  --bg: #282B28;
  --panel: #1f211f;
  --panel-soft: rgba(31, 33, 31, 0.82);
  --text: #f5f5f5;
  --muted: #b4b4b4;
  --line: rgba(62, 86, 65, 0.28);
  --forest-green: #3E5641;
  --forest-green-soft: rgba(62, 86, 65, 0.18);
  --purple-accent: #700458;
  --purple-soft: rgba(112, 4, 88, 0.16);
  --wolf-grey: #d6d6d6;
  --dark: #282B28;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #282B28;
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 18px;
  background: #3E5641;
  border: 1px solid rgba(112, 4, 88, 0.26);
  box-shadow: 0 0 20px rgba(112, 4, 88, 0.16);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #d4d4d8;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #700458;
  transform: translateY(-1px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
  padding: 86px 0 112px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(112, 4, 88, 0.34);
  background: #232523;
  color: #f5f5f5;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  box-shadow: 0 0 22px rgba(112, 4, 88, 0.18);
  backdrop-filter: blur(10px);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  max-width: 820px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero-copy {
  margin-top: 28px;
  color: #e2e2e2;
  font-size: 1.12rem;
  line-height: 1.9;
  max-width: 780px;
}

.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 14px 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #3E5641;
  color: #f5f5f5;
}

.button-secondary {
  border-color: #3f3f46;
  color: var(--text);
  background: transparent;
}

.button-secondary:hover {
  background: #18181b;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 320px;
  margin-left: auto;
}

.profile-photo {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #232523;
  border: 1px solid rgba(112, 4, 88, 0.28);
  box-shadow: var(--shadow);

  width: 100%;
  max-width: 280px;
  height: 340px;

  margin: 0 auto;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center 15%;
}

.snapshot-card {
  background: #1f211f;
  border: 1px solid rgba(112, 4, 88, 0.24);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.small-label {
  color: #d3d3d3;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  font-weight: 700;
}

.snapshot-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.snapshot-item {
  display: flex;
  gap: 14px;
  background: rgba(9, 9, 11, 0.56);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

.snapshot-icon {
  color: var(--forest-green);
  font-size: 1.1rem;
}

.snapshot-item span {
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}

.snapshot-item p {
  color: #e4e4e7;
  font-size: 0.92rem;
  margin-top: 3px;
}

section {
  padding: 86px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-kicker {
  color: var(--forest-green);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-intro p,
.production-text p,
.contact-card p {
  color: var(--muted);
  margin-top: 14px;
}

#projects {
  background: #2b2e2b;
}

#projects .section-intro h2 {
  color: #ffffff;
  max-width: 900px;
}

#projects .section-intro p {
  color: #d7d7d7;
  font-size: 1rem;
  line-height: 1.8;
}

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

.project-card,
.production-card {
  background: #232523;
  border: 1px solid rgba(112, 4, 88, 0.22);
  border-radius: 28px;
  padding: 26px;
  transition: transform 0.22s ease, background 0.22s ease;
}

.project-card:hover,
.production-card:hover {
  transform: translateY(-5px);
  background: var(--panel);
}

.project-type {
  color: var(--forest-green);
  font-size: 0.88rem;
  font-weight: 600;
}

.project-card h3,
.production-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 12px;
}

.project-role {
  color: #ededed;
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 9px;
}

.project-summary,
.production-card p {
  color: #d0d0d0;
  font-size: 0.94rem;
  margin-top: 14px;
}

.case-study-btn{
  display: inline-block;
  margin-top: 20px;
  color: #3E5641;
  font-weight: 600;
  transition: color 0.2s ease;
}

.case-study-btn:hover{
  color: #700458;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  background: rgba(112, 4, 88, 0.24);
  border: 1px solid rgba(112,4,88,0.28);
  color: #f5f5f5;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 600;
}

.production-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(24, 24, 27, 0.38);
}

.production-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.production-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.skill {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: #e4e4e7;
  border-radius: 18px;
  padding: 11px 15px;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact {
  padding-top: 0;
}

.contact-card {
  background: #1f211f;
  color: var(--text);
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-card .small-contact {
  color: #d6d6d6;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: #b4b4b4;
  max-width: 720px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.contact-actions .button {
  width: 100%;
  justify-content: center;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: #71717a;
  font-size: 0.9rem;
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 0.65s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.22s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .production-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .production-cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 62px 0 78px;
  }

  .hero-side {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  section {
    padding: 66px 0;
  }

  .button {
    width: 100%;
  }

  .snapshot-card,
  .contact-card {
    padding: 24px;
  }
}