:root {
  --paper: #fbf7ef;
  --paper-deep: #efe5d6;
  --ink: #24211d;
  --muted: #6f685d;
  --soft: #9c9284;
  --line: #ded2c1;
  --sage: #758465;
  --sage-soft: #e4eadf;
  --clay: #af6b46;
  --clay-soft: #f0ded0;
  --sky: #8299a5;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Noto Serif KR", "Apple SD Gothic Neo", serif;
  line-height: 1.6;
}

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

.page {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(251, 247, 239, 0.88);
  border-bottom: 1px solid rgba(222, 210, 193, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--clay);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(46px, 8vw, 96px) clamp(20px, 6vw, 88px) 56px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.studio-board {
  align-self: center;
}

.board-image {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 8px 32px rgba(36, 33, 29, 0.10);
  aspect-ratio: 1 / 1;
}

.board-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 88px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.section.tight {
  padding-top: 56px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 24px;
}

.panel h3 {
  margin: 0 0 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
}

.panel p {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.work-panel {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-preview {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.app-row {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.app-row:nth-child(2) {
  width: 86%;
}

.app-row:nth-child(3) {
  width: 72%;
}

.channel-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.channel-visual {
  height: 150px;
  margin: -24px -24px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--sage-soft);
  position: relative;
}

.channel-visual.vlog {
  background:
    linear-gradient(160deg, rgba(130, 153, 165, 0.45), transparent 56%),
    #efe5d6;
}

.channel-visual.farm {
  background:
    linear-gradient(160deg, rgba(117, 132, 101, 0.55), transparent 58%),
    #e7e1d3;
}

.channel-visual::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  height: 1px;
  background: rgba(36, 33, 29, 0.24);
  box-shadow: 0 -28px 0 rgba(36, 33, 29, 0.10), 0 -56px 0 rgba(36, 33, 29, 0.07);
}

.channel-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--clay);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  padding: 28px;
}

.contact-strip p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.contact-strip a {
  color: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 6vw, 88px);
  color: var(--soft);
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .studio-board {
    max-width: 520px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

