:root {
  --canvas: #f7f7f6;
  --surface: #ffffff;
  --surface-muted: #eeeeed;
  --ink: #121212;
  --ink-soft: #3f3f3f;
  --muted: #787878;
  --line: #d9d9d6;
  --line-strong: #171717;
  --accent-cyan: #19c1c8;
  --accent-pink: #e54ac7;
  --accent-violet: #6a4dff;
  --accent-green: #45d67b;
  --resource-blue: #2563eb;
  --resource-blue-dark: #1746b8;
  --resource-blue-light: #43c8ff;
  --max: 920px;
  --wide: 1180px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px;
  --font-sans: Pretendard, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--space-5) 0;
  background: rgba(247, 247, 246, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: max-content;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.brand-mark {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent-cyan), var(--accent-green) 38%, var(--accent-violet) 64%, var(--accent-pink));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
}

.nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 160ms ease-out, color 160ms ease-out;
}

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

.header-cta {
  justify-self: end;
  min-height: 34px;
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  transition: transform 160ms ease-out, border-color 160ms ease-out;
}

.header-cta:hover,
.button:hover,
.materials-card a:hover,
.service-card a:hover,
.book-card a:hover,
.site-footer a:hover {
  transform: translateY(-1px);
}

.hero {
  width: min(var(--wide), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--space-20) 0 0;
  text-align: center;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 860;
  line-height: 1.4;
  letter-spacing: 0;
}

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

h1,
h2 {
  margin: 0;
  font-weight: 820;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.1vw, 74px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 860;
  line-height: 1.32;
  text-wrap: balance;
}

.lead {
  max-width: 690px;
  margin: var(--space-6) auto 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 560;
  line-height: 1.78;
}

.invite {
  margin: var(--space-5) 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 840;
  transition: transform 160ms ease-out, background 160ms ease-out;
}

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

.button.secondary {
  background: var(--surface);
}

.button.resource,
.button.material-button {
  border-color: transparent;
  background:
    linear-gradient(135deg, var(--resource-blue), var(--resource-blue-dark)) padding-box,
    linear-gradient(135deg, var(--resource-blue-light), var(--resource-blue), var(--accent-violet)) border-box;
  color: var(--surface);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.button.resource {
  min-height: 48px;
  padding-right: 26px;
  padding-left: 26px;
}

.hero-art {
  position: relative;
  width: min(980px, 100%);
  margin: var(--space-12) auto 0;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.hero-art::before {
  top: 27%;
  left: 2%;
  box-shadow: -56px 170px 0 var(--ink), 34px 203px 0 var(--ink);
}

.hero-art::after {
  top: 18%;
  right: 2%;
  box-shadow: 26px 28px 0 var(--ink), 2px 58px 0 var(--ink);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--space-24) 0;
}

.trust-strip {
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid a {
  display: grid;
  min-height: 104px;
  align-content: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-3);
  border-right: 1px solid var(--line);
  text-align: left;
  transition: background 160ms ease-out, transform 160ms ease-out;
}

.trust-grid a:last-child {
  border-right: 0;
}

.trust-grid a:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.trust-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
}

.trust-grid strong {
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.22;
}

.feature-strip {
  text-align: center;
}

.feature-strip h2,
.services-section h2,
.books-section h2,
.timeline-section h2 {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 84px);
  margin-top: var(--space-12);
  text-align: left;
}

.feature-item svg {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 0 var(--space-5);
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.feature-item p,
.story-copy p,
.service-card p,
.timeline p,
.contact-inner p,
address {
  margin: var(--space-3) 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.story-section {
  padding: var(--space-24) 0;
  background: var(--canvas);
}

.story-section-muted {
  background: var(--surface-muted);
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(40px, 9vw, 112px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.story-inner-reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
}

.story-copy h2 {
  max-width: 520px;
  font-size: clamp(30px, 4vw, 48px);
}

.story-copy p:not(.eyebrow) {
  max-width: 540px;
}

.story-art {
  margin: 0;
}

.story-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.materials-section {
  width: min(var(--wide), calc(100% - 40px));
  text-align: center;
}

.materials-section h2 {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.materials-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  margin-top: var(--space-12);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

.materials-card figure {
  margin: 0;
}

.materials-card img {
  display: block;
  width: 100%;
  height: clamp(260px, 35vw, 430px);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.materials-copy {
  display: grid;
  align-content: center;
  gap: var(--space-6);
}

.materials-actions {
  display: grid;
  gap: var(--space-3);
}

.materials-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.65vw, 23px);
  font-weight: 540;
  line-height: 1.72;
}

.materials-copy .button {
  width: 100%;
  min-height: 58px;
  font-size: clamp(16px, 1.6vw, 20px);
}

.services-section,
.books-section,
.timeline-section {
  text-align: center;
}

.timeline-section {
  padding-top: var(--space-20);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  text-align: left;
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 470px;
}

.service-card img {
  display: block;
  width: 100%;
  height: clamp(180px, 19vw, 240px);
  object-fit: contain;
  object-position: top center;
  padding: var(--space-3);
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-card h3 {
  margin-top: var(--space-5);
}

.service-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
}

.service-card-featured img {
  height: clamp(220px, 28vw, 340px);
  object-position: center;
}

.service-card-body {
  display: grid;
  align-content: center;
  gap: var(--space-4);
}

.service-card-body h3 {
  margin-top: 0;
}

.service-badge {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.service-card a,
.book-card a,
.site-footer a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: var(--space-4);
  border-bottom: 1.5px solid var(--ink);
  font-size: 14px;
  font-weight: 860;
  transition: transform 160ms ease-out;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  text-align: center;
}

.book-card img {
  display: block;
  width: min(190px, 78%);
  height: 278px;
  object-fit: contain;
  margin: 0 auto var(--space-5);
  filter: drop-shadow(7px 9px 0 rgba(18, 18, 18, 0.10));
}

.book-card a {
  margin-right: auto;
  margin-left: auto;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: var(--space-12);
  border-top: 1px solid var(--line);
  text-align: left;
}

.timeline div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.contact-section {
  padding: var(--space-24) 0;
  background: var(--surface-muted);
  text-align: center;
}

.contact-inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: clamp(36px, 5vw, 62px);
}

.contact-inner p,
.contact-inner address {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
}

address {
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10) var(--space-20);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--space-24) 0 var(--space-12);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.site-footer p,
.site-footer h2 {
  margin: 0;
}

.site-footer h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  text-align: left;
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.site-footer a {
  margin-top: 0;
  border-bottom-color: transparent;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: var(--space-16);
}

.nowrap {
  white-space: nowrap;
}

.mobile-only {
  display: none;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .header-cta,
  .button,
  .materials-card a,
  .service-card a,
  .book-card a,
  .site-footer a {
    transition: none;
    transform: none;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: var(--space-3);
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    justify-content: center;
    padding: var(--space-2) 0;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero {
    width: 100%;
    padding-right: var(--space-4);
    padding-left: var(--space-4);
    padding-top: var(--space-12);
  }

  .hero-copy {
    width: 100%;
    max-width: 340px;
  }

  .feature-grid,
  .service-grid,
  .book-grid {
    grid-template-columns: 1fr;
    width: min(460px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .materials-card {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .materials-copy {
    justify-items: center;
  }

  .materials-copy .button {
    width: min(100%, 360px);
  }

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

  .trust-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid a:nth-last-child(-n + 1) {
    border-bottom: 0;
  }

  .story-inner,
  .story-inner-reverse {
    grid-template-columns: 1fr;
  }

  .story-inner-reverse .story-art {
    order: 2;
  }

  .story-inner-reverse .story-copy {
    order: 1;
  }

  .story-copy {
    text-align: center;
  }

  .story-copy h2,
  .story-copy p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .service-card {
    min-height: auto;
  }

  .service-card-featured {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding-top: var(--space-6);
  }

  .service-card-featured img {
    height: clamp(190px, 52vw, 280px);
  }

  .service-card-body {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section-shell,
  .story-inner,
  .contact-inner,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding: var(--space-4) 0 var(--space-3);
  }

  .brand {
    font-size: 16px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .header-cta {
    padding: 8px 16px;
  }

  .nav {
    justify-content: flex-start;
    gap: var(--space-5);
  }

  h1 {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(29px, 7.5vw, 33px);
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  h2 {
    font-size: clamp(27px, 7.6vw, 34px);
    line-height: 1.16;
  }

  .eyebrow {
    max-width: 282px;
    margin-right: auto;
    margin-left: auto;
    font-size: 11px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .lead,
  .invite {
    max-width: 340px;
    font-size: 14px;
    overflow-wrap: anywhere;
    margin-right: auto;
    margin-left: auto;
    word-break: normal;
  }

  .invite {
    max-width: 312px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    flex: 0 0 auto;
    min-width: 0;
    width: min(100%, calc(100vw - 48px), 280px);
    padding-right: 14px;
    padding-left: 14px;
    font-size: 14px;
  }

  .hero-actions .button.resource {
    width: min(100%, calc(100vw - 48px), 280px);
  }

  .trust-strip {
    padding-top: var(--space-16);
  }

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

  .trust-grid a {
    min-height: 78px;
    padding: var(--space-4) 0;
    text-align: center;
  }

  .feature-strip h2 {
    font-size: clamp(27px, 7.4vw, 32px);
  }

  .story-copy h2,
  .materials-section h2,
  .services-section h2,
  .books-section h2,
  .timeline-section h2,
  .contact-inner h2 {
    font-size: clamp(26px, 7.2vw, 32px);
  }

  .hero-art {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .hero-art::before,
  .hero-art::after {
    display: none;
  }

  .section-shell,
  .story-section,
  .contact-section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .feature-grid {
    gap: var(--space-12);
  }

  .story-inner {
    gap: var(--space-8);
  }

  .materials-card {
    padding: var(--space-4);
  }

  .materials-card img {
    height: 240px;
  }

  .materials-copy p {
    font-size: 15px;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .copyright {
    grid-column: auto;
  }
}
