:root {
  color-scheme: light;
  --bg: #f7f7f3;
  --ink: #171918;
  --muted: #626761;
  --line: #deded5;
  --paper: #ffffff;
  --shadow: 0 24px 64px rgba(27, 31, 30, 0.16);
  font-family: "Pretendard", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  word-break: keep-all;
}

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

img,
video {
  display: block;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #151716;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 10px;
  padding: 10px;
  opacity: 0.76;
}

.hero-backdrop img,
.hero-backdrop video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
}

.hero-backdrop img:nth-child(2) {
  transform: translateY(5%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 12, 0.86) 0%, rgba(10, 12, 12, 0.48) 48%, rgba(10, 12, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 12, 12, 0.16) 0%, rgba(10, 12, 12, 0.82) 100%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 72px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d6e381;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(64px, 12vw, 138px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 2.35vw, 30px);
  font-weight: 760;
  line-height: 1.45;
}

.hero-button,
.project-link {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: 8px;
  background: #fff;
  color: #141615;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
}

.hero-button:hover,
.project-link:hover {
  transform: translateY(-2px);
}

.projects,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.projects {
  padding: 46px 0 82px;
}

.section-title {
  margin-bottom: 30px;
}

.section-title .eyebrow {
  color: #566933;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: 0;
}

.project-list {
  display: grid;
  gap: 26px;
}

.project-card {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.project-visual {
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), white 20%), var(--accent)),
    var(--accent);
}

.project-visual img,
.project-visual video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: var(--media-position, center);
  border-radius: 8px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.project-visual video {
  background: #111;
}

.lettermark {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 82px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.14);
}

.project-content {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-kicker {
  display: flex;
  gap: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 20px 0 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

.tagline {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.38;
}

.description {
  margin: 18px 0 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.project-link {
  background: var(--accent);
  color: #fff;
}

.footer {
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero {
    min-height: 78svh;
  }

  .hero-backdrop {
    grid-template-columns: 1fr;
  }

  .hero-backdrop img:nth-child(2) {
    display: none;
  }

  .hero-backdrop video {
    display: none;
  }

  .hero-content {
    padding: 72px 0 56px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .projects,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 64px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .projects {
    padding-top: 34px;
  }

  .description {
    font-size: 17px;
  }

  .project-visual {
    min-height: 240px;
    padding: 12px;
  }

  .project-content {
    padding: 28px;
  }

  .tagline {
    font-size: 20px;
  }

  .footer {
    flex-direction: column;
  }
}
