@import url('./animations.css');

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --font-display: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* surfaces */
  --bg: #0a0d12;
  --bg-elevated: #12161d;
  --bg-elevated-2: #1a2029;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* text */
  --text-primary: #f2ede2;
  --text-secondary: #9da3ad;
  --text-muted: #5d636d;

  /* accent */
  --accent: #d98a2b;
  --accent-strong: #f2a53c;
  --accent-soft: rgba(217, 138, 43, 0.12);
  --accent-soft-strong: rgba(217, 138, 43, 0.45);
  --amber: #4fb6c4;
  --status-online: #5fae7c;

  /* shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px var(--border-strong), 0 20px 45px -18px var(--accent-soft-strong);

  --header-height: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 84px;
  overflow-x: hidden;
}

.wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

/* ==========================================================================
   Intro / boot screen
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-bg {
  position: absolute;
  inset: 0;
}

.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.intro-avatar {
  width: 168px;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  opacity: 0;
  transform: scale(0.72);
  animation: intro-avatar-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.intro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-elevated-2);
}

.intro-mono {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-secondary);
  min-height: 1.2em;
}

.intro-typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 2px solid var(--accent-strong);
  animation: intro-typing 1.3s steps(21, end) 0.5s forwards,
    intro-caret-blink 1s step-end 0.5s infinite;
}

.intro.intro-exit {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.intro.intro-done {
  display: none;
}

/* ==========================================================================
   Mono eyebrow / prompt line
   ========================================================================== */
.mono-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.mono-eyebrow.static::before {
  content: '';
}

.prompt-user {
  color: var(--text-secondary);
}

.prompt-sep {
  color: var(--accent-strong);
  margin-right: 6px;
}

.typed-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  width: 0;
  color: var(--text-primary);
}

.typed-text.run {
  animation: typing 0.9s steps(6, end) forwards;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent-strong);
  animation: caret-blink 1s step-end infinite;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-primary);
  text-transform: lowercase;
}

.logo-accent {
  color: var(--accent-strong);
  font-family: var(--font-mono);
}

.nav-desktop {
  display: none;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 2px;
  margin-left: 32px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 0 14px;
  background: rgba(18, 22, 29, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  border-radius: 20px 20px 0 0;
}

.nav-mobile-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  min-width: 56px;
}

.nav-mobile-link i {
  font-size: 1.3rem;
}

.nav-mobile-link.active {
  color: var(--accent-strong);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjxmZUNvbG9yTWF0cml4IHR5cGU9InNhdHVyYXRlIiB2YWx1ZXM9IjAiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCglMjNuKSIvPjwvc3ZnPg==");
  background-repeat: repeat;
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  opacity: 0.05;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-block: 48px 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 620px;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  line-height: 1.08;
}

.hero-role {
  font-family: var(--font-mono);
  color: var(--accent-strong);
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  margin-top: 14px;
  font-weight: 500;
}

.dot-sep {
  color: var(--text-muted);
}

.hero-pitch {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 52ch;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-online);
  box-shadow: 0 0 0 3px rgba(95, 174, 124, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-socials {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-socials a:hover {
  color: var(--accent-strong);
  border-color: var(--accent-soft-strong);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.avatar-frame {
  position: relative;
  width: 190px;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  animation: float-avatar 6s ease-in-out infinite;
}

.avatar-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-elevated-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn i {
  font-size: 1em;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-primary);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-elevated-2);
  border-color: var(--accent-soft-strong);
  transform: translateY(-2px);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.4);
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  animation: ripple-effect 0.7s ease-out forwards;
}

/* ==========================================================================
   Section shell
   ========================================================================== */
.section {
  padding-block: 88px;
  scroll-margin-top: var(--header-height);
}

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

.section-subtitle {
  font-size: 1.25rem;
  margin-top: 4px;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 56ch;
  margin-top: 12px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

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

.about-photo {
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: 220px;
  padding: 14px;
}

.photo-frame::before,
.photo-frame::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--accent-strong);
  border-style: solid;
  opacity: 0.9;
}

.photo-frame::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.photo-frame::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 18px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.fact dt {
  font-family: var(--font-mono);
  color: var(--text-muted);
  flex-shrink: 0;
}

.fact dd {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  min-width: 0;
}

/* ==========================================================================
   Skills
   ========================================================================== */
.skills {
  margin-top: 80px;
}

.skills-groups {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.skill-group {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.skill-group h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.skill-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  min-width: 0;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.chip i {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.chip:hover {
  transform: translateY(-3px);
  color: var(--text-primary);
  border-color: var(--accent-soft-strong);
}

.chip:hover i {
  color: var(--accent-strong);
}

/* ==========================================================================
   Projects
   ========================================================================== */
.projects {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
}

.projects-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.content-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-card h3 {
  font-size: 1.15rem;
}

.project-stack {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-strong);
  margin-top: 8px;
}

.project-desc {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.buttons-card-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.link-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.link-card:hover {
  color: var(--text-primary);
}

.link-card-accent {
  color: var(--accent-strong);
}

.link-card-accent:hover {
  color: var(--amber);
}

/* ==========================================================================
   Timeline (git log)
   ========================================================================== */
.timeline {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.git-log {
  position: relative;
  margin-top: 36px;
  padding-left: 30px;
  list-style: none;
}

.git-log::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 2px;
  background: linear-gradient(var(--border-strong), transparent 96%);
}

.log-entry {
  position: relative;
  padding-bottom: 40px;
}

.log-entry:last-child {
  padding-bottom: 0;
}

.log-node {
  position: absolute;
  top: 5px;
  left: -30px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--bg-elevated);
  border: 2px solid var(--border-strong);
  transform: rotate(45deg);
}

.log-entry.current .log-node {
  border-color: var(--accent-strong);
  background: var(--accent);
  animation: pulse-ring 2.4s ease-out infinite;
}

.log-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.log-hash {
  color: var(--text-muted);
}

.log-badge {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.badge-work {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.badge-study {
  background: rgba(79, 182, 196, 0.14);
  color: var(--amber);
}

.log-date {
  color: var(--text-muted);
}

.log-content h3 {
  margin-top: 10px;
  font-size: 1.15rem;
}

.log-org {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.log-desc {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 62ch;
}

.log-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.log-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-link i {
  font-size: 1.3rem;
  color: var(--accent-strong);
}

.contact-link:hover {
  border-color: var(--accent-soft-strong);
  transform: translateX(4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  text-decoration: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--accent-strong);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in-view {
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .intro {
    display: none;
  }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media screen and (min-width: 640px) {
  .about-grid {
    flex-direction: row;
    align-items: center;
  }

  .about-photo {
    flex: 0 0 auto;
  }

  .about-content {
    flex: 1;
  }

  .skills-groups {
    flex-direction: row;
  }

  .skill-group {
    flex: 1;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-link {
    flex: 1 1 220px;
  }
}

@media screen and (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
  }

  .nav-mobile {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-block: 40px;
    gap: 60px;
  }

  .hero-content {
    align-items: flex-start;
  }

  .avatar-frame {
    width: 240px;
  }

  .section {
    padding-block: 120px;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media screen and (min-width: 1180px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
