@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;700&family=Pretendard:wght@300;400;500;600;700&display=swap');

:root {
  --black: #111111;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #d9d9d9;
  --gray-text: #6b6b6b;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

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

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

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-mid);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.28em;
  color: var(--black);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 0.5; }

.header-right { display: flex; align-items: center; gap: 24px; }

.lang-toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--black);
  background: transparent;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle:hover { background: var(--black); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--black); }

/* ---------- Hero ---------- */
.hero {
  padding: 200px 0 140px;
  text-align: center;
}

.hero .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gray-text);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
}

.hero p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 560px;
  margin: 0 auto 44px;
}

.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--black);
  transition: all 0.2s;
}

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #333; }

.btn-secondary { background: transparent; color: var(--black); }
.btn-secondary:hover { background: var(--gray-light); }

/* ---------- Section shared ---------- */
section { padding: 120px 0; }
section.alt { background: var(--gray-light); }

.section-head { margin-bottom: 64px; text-align: center; }

.section-head .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 18px;
  color: var(--gray-text);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-grid p { color: var(--gray-text); margin-bottom: 16px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stat {
  border-top: 1px solid var(--black);
  padding-top: 16px;
}

.stat .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px;
  font-weight: 700;
}

.stat .label {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 6px;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  border: 1px solid var(--gray-mid);
}

.service-card {
  background: var(--white);
  padding: 48px;
  transition: background 0.2s;
}

.service-card:hover { background: var(--gray-light); }

.service-card .idx {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 24px;
}

.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.service-card p { color: var(--gray-text); font-size: 15px; }

/* ---------- Work / Portfolio ---------- */
.reel {
  position: relative;
  aspect-ratio: 16/7;
  border-radius: 2px;
  overflow: hidden;
  background: #111 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 24px;
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}

.reel-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(2px);
}

.reel-label {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--white);
}

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

.work-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(150deg, #1a1a1a, #3a3a3a) center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  cursor: pointer;
}

.work-card:nth-child(4) { background: linear-gradient(150deg, #262626, #4a4a4a); }
.work-card:nth-child(5) { background: linear-gradient(150deg, #1c1c1c, #444); }
.work-card:nth-child(6) { background: linear-gradient(150deg, #303030, #565656); }

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.7));
}

.work-card .tag,
.work-card .play-icon,
.work-card > div {
  position: relative;
  z-index: 1;
}

.work-card .tag {
  position: absolute;
  top: 20px; left: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}

.work-card .play-icon {
  position: absolute;
  top: 20px; right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.work-card .title {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

.work-card .meta {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-top: 4px;
}

.work-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}

.reel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}

.work-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--gray-text);
}

/* ---------- Team / Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  max-width: 780px;
  margin: 0 auto;
  align-items: start;
}

.founder-photo {
  aspect-ratio: 4/5;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--gray-mid);
  font-size: 12px;
}

.founder-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.founder-bio-group {
  margin-bottom: 32px;
}

.founder-bio-group p {
  color: var(--gray-text);
  margin-bottom: 12px;
}

.founder-bio-group p:last-child {
  margin-bottom: 0;
}

.founder-edu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.founder-edu li {
  border-top: 1px solid var(--gray-mid);
  padding-top: 14px;
}

.founder-edu .school {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.founder-edu .degree {
  display: block;
  font-size: 13px;
  color: var(--gray-text);
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact-inner p { color: var(--gray-text); margin-bottom: 32px; }

.contact-list { list-style: none; }
.contact-list li {
  border-top: 1px solid var(--gray-mid);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.contact-list li:last-child { border-bottom: 1px solid var(--gray-mid); }
.contact-list .k { color: var(--gray-text); }
.contact-list .v { font-weight: 500; }

form { display: flex; flex-direction: column; gap: 20px; }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  margin-bottom: 8px;
  font-family: 'IBM Plex Mono', monospace;
}

.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--gray-mid);
  padding: 10px 2px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
}

.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--black); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--gray-mid);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .logo { font-size: 15px; }

.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--gray-text); }

.copyright { font-size: 12px; color: var(--gray-text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 200px 1fr; gap: 32px; }
  .hero { padding: 160px 0 100px; }
}

@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 200px; }
  .header-inner { padding: 16px 20px; }
  .reel { aspect-ratio: 4/3; }
}
