:root {
  --bg: #f7f6f2;
  --paper: #fffdf8;
  --ink: #182133;
  --muted: #77736c;
  --line: #d8d3c9;
  --soft: #ece8df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 28% 72%;
  padding: 48px 56px;
}

.brand {
  border-right: 1px dashed #b9b4aa;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 52px;
  position: sticky;
  top: 0;
  height: calc(100vh - 96px);
}

.brand h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: -0.07em;
  font-weight: 600;
}

.url {
  position: absolute;
  left: 0;
  bottom: 24px;
  margin: 0;
  color: #111;
  font-size: 18px;
}

.content {
  max-width: 980px;
  padding-left: 48px;
}



.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 11px;
  border: 1px solid #cdbca8;
  border-radius: 999px;
  color: #7a5a3a;
  background: #f6f1eb;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h2 {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.ko,
.en,
.caption,
.email-card p,
.profile p {
  font-size: 17px;
  line-height: 1.8;
}

.en,
.caption,
.email-card p {
  color: var(--muted);
}

.archive-card,
.email-card,
.profile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-top: 28px;
  box-shadow: 0 18px 50px rgba(31, 28, 22, 0.06);
}

.archive-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 14px;
}

.archive-head p {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  font-size: 20px;
}

.archive-head span {
  color: var(--muted);
}

.archive-card img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  background: var(--soft);
}

.email-card h3,
.profile h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 16px;
  background: white;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.form-message {
  min-height: 24px;
  margin-bottom: 0;
}

.profile summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  list-style: none;
}

.profile summary::-webkit-details-marker {
  display: none;
}

.profile summary::after {
  content: " +";
  color: #2563eb;
  font-weight: 700;
}

.profile[open] summary::after {
  content: " –";
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

li {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .page {
    display: block;
    padding: 28px 18px;
  }

  .brand {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px dashed #b9b4aa;
    justify-content: flex-start;
    padding: 16px 0 28px;
    margin-bottom: 28px;
  }

  .url {
    position: static;
    margin-top: 20px;
    font-size: 14px;
  }

  .content {
    padding-left: 0;
  }

  .hero h2 {
    font-size: 48px;
  }

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

  form {
    display: block;
  }

  button {
    width: 100%;
    margin-top: 10px;
  }

  input {
    width: 100%;
  }
}
