:root {
  --bg: #f3f3f3;
  --text: #121212;
  --muted: #5f5f5f;
  --border: rgba(0, 0, 0, 0.12);
  --max: 1520px;
  --page-pad: 14px;
  --section-gap: 64px;
}

body.dark {
  --bg: #0f0f0f;
  --text: #f2f2f2;
  --muted: #ababab;
  --border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  font-size: 13px;
  font-weight: 700;
}

.header-center {
  justify-self: center;
}

.mode-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  justify-self: end;
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.72;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
}

/* page */
.project-page {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 90px;
}

/* top area */
.project-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 72px;
}

.project-top__image {
  background: #d9d9d9;
}

.project-top__image img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.project-top__info h1 {
  margin: 0 0 35px;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.project-summary {
  margin: 0 0 44px;
  max-width: 420px;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.45;
}

.project-meta {
  display: grid;
  gap: 18px;
  max-width: 400px;
}

.meta-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  align-items: start;
}

.meta-label {
  font-weight: 400;
}

.meta-value {
  color: var(--text);
}

/* sections */
.project-section {
  margin-top: var(--section-gap);
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* selected views */
.selected-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 42px;
}

.selected-item {
  margin: 0;
}

.selected-item img {
  width: 100%;
  aspect-ratio: 4 / 2.35;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

/* concept */
.concept-text {
  max-width: 980px;
  padding-left: 24px;
}

.concept-text p {
  margin: 0;
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.55;
}

/* overview media */
.overview-media {
  max-width: 920px;
  margin: 0 auto;
}

.overview-media img,
.overview-media video {
  width: 100%;
  border-radius: 0;
  background: #000;
  object-fit: cover;
}

/* responsive */
@media (max-width: 1000px) {
  .project-top {
    grid-template-columns: 1fr;
  }

  .project-summary,
  .project-meta {
    max-width: 100%;
  }

  .selected-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand nav"
      "mode mode";
    row-gap: 10px;
  }

  .brand {
    grid-area: brand;
  }

  .site-nav {
    grid-area: nav;
  }

  .header-center {
    grid-area: mode;
  }

  .project-page {
    width: calc(100% - 20px);
  }

  .project-top {
    gap: 22px;
    margin-bottom: 56px;
  }

  .project-summary {
    margin-bottom: 28px;
  }

  .meta-row {
    grid-template-columns: 60px 1fr;
  }

  .concept-text {
    padding-left: 0;
  }
}
.back-home {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.back-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-home__button:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}