:root {
  --bg-color: #080808;
  --bg-elevated: #0e0f10;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --accent: #f5f5f5;
  --accent-soft: #1b1c1f;
  --border-subtle: #26272b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

body.light-mode {
  background-color: var(--bg-color);
}

#page {
  min-height: 100vh;
  background: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.06),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(60, 130, 255, 0.15),
      transparent 55%
    );
  color: var(--text-primary);
}

#footer {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.container-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header_hd__glnhB {
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_logo__Q4_m9 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--text-primary);
}

.header_logo__Q4_m9 img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.header_hd__glnhB ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header_hd__glnhB li svg {
  opacity: 0.9;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.header_hd__glnhB li svg:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.header_hd__glnhB li:last-child {
  margin-top: -8px;
  margin-left: 10px;
}

.header_hd__glnhB a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.85;
}

.header_hd__glnhB a:hover {
  opacity: 1;
}

/* Hero */
.header_tagline__mLhiA {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 96px 0;
}

.header_tagline__mLhiA img {
  filter: invert(1);
  width: 150px;
  height: auto;
}

.header_tagline__mLhiA p {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

/* Sections */
h2 {
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 24px;
}

.portfolio_portfolio__BjKcZ {
  margin-bottom: 64px;
}

.portfolio_portfolio__BjKcZ h2 {
  margin-bottom: 30px;
}

/* Portfolio grid */
.portfolio_portfolio__BjKcZ ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.portfolio_thumbnail__M9Gz0 {
  background: var(--bg-elevated);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.portfolio_thumbnail__M9Gz0 img {
  width: 100%;
  display: block;
}

.portfolio_thumbnail__M9Gz0:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-32 {
  margin-top: 8rem;
  margin-bottom: 8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .header_hd__glnhB {
    padding-top: 20px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .header_hd__glnhB ul {
    gap: 14px;
  }

  .header_hd__glnhB li:last-child {
    margin-left: 0;
  }

  .header_tagline__mLhiA {
    padding: 72px 0 56px;
    max-width: 520px;
  }

  .header_tagline__mLhiA p {
    font-size: 22px;
  }

  .portfolio_portfolio__BjKcZ ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header_hd__glnhB {
    gap: 16px;
  }

  .header_tagline__mLhiA {
    padding-top: 56px;
    margin-top: 32px;
  }

  .portfolio_portfolio__BjKcZ ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer_ft__a6Ugk {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 450px) {
  .header_hd__glnhB li svg {
    width: 16px !important;
    height: 16px !important;
  }

  .header_hd__glnhB li:last-child {
    margin-left: 0;
  }

  .header_logo__Q4_m9 img{
    width: 32px !important;
    height: 32px !important;
  }

  .header_hd__glnhB a {
    font-size: 12px;
  }
}
