@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  color-scheme: light;
  --ink: #151512;
  --forest: #17342f;
  --muted: #68665d;
  --soft: #918c7f;
  --paper: #f4f1ea;
  --paper-2: #e7ebe4;
  --white: #fffaf1;
  --line: rgba(21, 21, 18, 0.15);
  --line-strong: rgba(21, 21, 18, 0.28);
  --acid: #b88746;
  --mint: #d7e4d0;
  --lilac: #d8d2c7;
  --peach: #e3c6b6;
  --blue: #b88746;
  --rose: #9b5944;
  --max: 1240px;
  --radius: 8px;
  --shadow: 0 30px 90px rgba(21, 21, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

[id] {
  scroll-margin-top: 92px;
}

button {
  font: inherit;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--acid), var(--rose));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  background: rgba(21, 21, 18, 0.88);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.brand span,
.eyebrow,
.project-meta dt,
.meta-tags span,
.case-impact span,
.hero-visual figcaption span,
.concept-card span,
.palette-grid span,
.screen-wall figure > span,
.language-row span,
.stack-grid span,
.comparison-grid span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span {
  color: rgba(255, 250, 241, 0.58);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(255, 250, 241, 0.62);
  font-size: 13px;
  font-weight: 760;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
}

.lang {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  background: transparent;
  color: rgba(255, 250, 241, 0.72);
  cursor: pointer;
}

.lang.is-active {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.header-cta {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px max(20px, calc((100vw - var(--max)) / 2)) 78px;
  background:
    radial-gradient(circle at 82% 20%, rgba(184, 135, 70, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(21, 21, 18, 0.98), rgba(23, 52, 47, 0.96) 55%, rgba(21, 21, 18, 0.94));
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 250, 241, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 64%, transparent 100%);
}

.hero-top {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
}

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

dd,
.project-meta,
.hero-top {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 42px;
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 900;
  line-height: 1;
}

.sample-disclosure {
  max-width: 780px;
  margin: -20px 0 44px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.06);
  color: rgba(255, 250, 241, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.project-meta {
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.08);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.project-meta dl {
  display: grid;
  gap: 24px;
  margin: 0;
}

.project-meta div {
  display: grid;
  gap: 7px;
}

.project-meta dt {
  color: rgba(255, 250, 241, 0.5);
}

.project-meta dd {
  margin: 0;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.meta-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.1);
  color: rgba(255, 250, 241, 0.7);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 16px;
  background: #101010;
  box-shadow: 0 46px 140px rgba(0, 0, 0, 0.44);
}

.hero-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.82);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.hero-visual figcaption span {
  color: var(--acid);
}

.hero-visual figcaption strong {
  font-size: 14px;
}

.case-impact {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.16);
}

.case-impact article {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(18px);
}

.case-impact span {
  display: block;
  color: var(--acid);
}

.case-impact strong {
  display: block;
  margin: 52px 0 10px;
  color: var(--white);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.05;
}

.case-impact p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.62);
  font-weight: 650;
}

.section {
  padding: 104px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  margin-bottom: 42px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 850;
  line-height: 1.18;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-grid article,
.journey-board article,
.transformation-grid article,
.proof-strip > div,
.readiness-table,
.readiness-aside,
.concept-card,
.stack-grid article,
.comparison-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.overview-grid article {
  min-height: 300px;
  padding: 26px;
}

.overview-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 70px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-weight: 900;
}

.overview-grid p,
.transformation-grid p,
.journey-board p,
.proof-strip p,
.readiness-aside p,
.concept-copy p,
.global-layout p,
.stack-grid p,
.comparison-grid p {
  color: var(--muted);
}

.transformation-section {
  background: var(--ink);
  color: var(--white);
}

.transformation-section .section-head h2 {
  color: var(--white);
}

.transformation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.62fr) minmax(280px, 0.46fr);
  gap: 14px;
}

.transformation-grid article {
  min-height: 360px;
  padding: 26px;
  border-color: rgba(255, 250, 241, 0.14);
  background: rgba(255, 250, 241, 0.08);
}

.transformation-grid span,
.change-list span {
  display: block;
  color: var(--acid);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transformation-grid strong {
  display: block;
  margin: 122px 0 16px;
  color: var(--white);
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.02;
}

.transformation-grid p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.62);
}

.after-panel {
  background:
    linear-gradient(135deg, rgba(184, 135, 70, 0.18), rgba(255, 250, 241, 0.08)),
    rgba(255, 250, 241, 0.08) !important;
}

.change-list {
  display: grid;
  border: 1px solid rgba(255, 250, 241, 0.14);
}

.change-list div {
  min-height: 120px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.14);
  background: rgba(255, 250, 241, 0.04);
}

.change-list div:last-child {
  border-bottom: 0;
}

.change-list p {
  margin: 28px 0 0;
  color: rgba(255, 250, 241, 0.72);
  font-weight: 720;
}

.journey-section {
  background: var(--paper-2);
}

.journey-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.journey-board article {
  min-height: 330px;
  padding: 24px;
}

.journey-board span,
.proof-strip span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-board h3 {
  margin: 92px 0 14px;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.08;
}

.journey-board p,
.proof-strip p {
  margin-bottom: 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-strip > div {
  min-height: 188px;
  padding: 22px;
  background: var(--white);
}

.proof-strip strong {
  display: block;
  margin: 42px 0 10px;
  color: var(--ink);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
}

.readiness-section {
  background: var(--white);
}

.readiness-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.46fr);
  gap: 14px;
}

.readiness-table {
  overflow: hidden;
}

.readiness-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.56fr) minmax(0, 0.54fr);
  border-bottom: 1px solid var(--line);
}

.readiness-row:last-child {
  border-bottom: 0;
}

.readiness-row > span {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 680;
}

.readiness-row > span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.readiness-row > span:last-child {
  border-right: 0;
  background: var(--paper-2);
  color: var(--ink);
}

.readiness-head {
  background: var(--ink);
}

.readiness-head > span,
.readiness-head > span:first-child,
.readiness-head > span:last-child {
  min-height: 58px;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readiness-aside {
  align-self: stretch;
  padding: 24px;
  background: var(--forest);
  color: var(--white);
}

.readiness-aside span {
  display: block;
  margin-bottom: 48px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readiness-aside strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.05;
}

.readiness-aside p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.7);
}

.concept-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 0.62fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.concept-copy {
  position: sticky;
  top: 110px;
}

.concept-copy p {
  margin-top: 24px;
  font-size: 17px;
}

.concept-board {
  display: grid;
  gap: 14px;
}

.concept-card {
  min-height: 220px;
  padding: 24px;
}

.concept-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
}

.concept-card strong {
  display: block;
  font-size: clamp(25px, 3.1vw, 44px);
  line-height: 1.04;
}

.concept-card.dark {
  background: var(--ink);
  color: var(--white);
}

.concept-card.dark span {
  color: var(--acid);
}

.concept-card.accent {
  background: var(--acid);
}

.palette-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2)) 104px;
}

.palette-copy {
  padding-top: 24px;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.palette-grid div {
  display: grid;
  align-items: end;
  padding: 16px;
  background: var(--swatch);
}

.palette-grid span {
  color: var(--ink);
  mix-blend-mode: difference;
}

.screen-wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 22px;
  align-items: end;
}

.screen-wall figure {
  margin: 0;
}

.screen-wall figure > span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
}

.desktop-screen img,
.phone-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.desktop-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.phone-frame {
  overflow: hidden;
  max-width: 330px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 34px;
}

.phone-frame img {
  height: 620px;
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  object-position: top left;
}

.global-section {
  background: var(--ink);
  color: var(--white);
}

.global-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.global-section .eyebrow {
  color: var(--acid);
}

.global-layout p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 17px;
}

.global-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.language-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  min-height: 94px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.language-row span {
  color: var(--acid);
  grid-row: 1 / span 2;
}

.language-row strong,
.language-row em {
  display: block;
  grid-column: 2;
}

.language-row strong {
  font-size: 21px;
}

.language-row em {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.6);
  font-style: normal;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
}

.stack-grid article {
  min-height: 210px;
  padding: 22px;
  background: #1b1b1b;
  border-color: rgba(255, 255, 255, 0.14);
}

.stack-grid span {
  display: block;
  margin-bottom: 60px;
  color: var(--acid);
}

.stack-grid p {
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-grid article {
  min-height: 320px;
  padding: 28px;
}

.comparison-grid span {
  display: block;
  margin-bottom: 74px;
  color: var(--blue);
}

.comparison-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.08;
}

.comparison-grid .highlight {
  background: var(--acid);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 82px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}

.cta-section h2 {
  max-width: 880px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--ink);
}

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

.button.secondary {
  background: transparent;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .section-head,
  .transformation-grid,
  .readiness-layout,
  .concept-section,
  .palette-section,
  .screen-wall,
  .global-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .concept-copy {
    position: static;
  }

  .overview-grid,
  .transformation-grid,
  .case-impact,
  .journey-board,
  .proof-strip,
  .stack-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-frame {
    margin-inline: 0;
  }
}

@media (max-width: 640px) {
  h1,
  h2,
  h3,
  p,
  strong,
  dd,
  li {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .case-impact,
  .case-impact article,
  .project-meta,
  .hero-visual {
    min-width: 0;
  }

  .case-impact strong,
  .case-impact p,
  .transformation-grid strong,
  .transformation-grid p,
  .change-list p,
  .overview-grid p,
  .journey-board p,
  .proof-strip p {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .project-meta dd {
    word-break: normal;
    overflow-wrap: normal;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hero-top,
  .section-head,
  .concept-copy {
    min-width: 0;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.45;
  }

  .hero,
  .section,
  .cta-section {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(28px, 8.4vw, 38px);
  }

  .hero-visual img {
    min-height: 0;
  }

  .readiness-row {
    display: block;
    border-bottom: 0;
  }

  .readiness-row > span {
    display: block;
    min-height: 0;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .readiness-head {
    display: none;
  }

  .readiness-row > span:nth-child(2)::before,
  .readiness-row > span:nth-child(3)::before {
    display: block;
    margin-bottom: 6px;
    color: var(--acid);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .readiness-row > span:nth-child(2)::before {
    content: "페이지가 없을 때";
  }

  .readiness-row > span:nth-child(3)::before {
    content: "제작한 페이지";
  }

  .hero-visual figcaption {
    display: grid;
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 6px;
    padding: 12px;
  }

  .hero-visual figcaption span {
    font-size: 10px;
  }

  .hero-visual figcaption strong {
    font-size: 12px;
  }

  .overview-grid,
  .transformation-grid,
  .case-impact,
  .journey-board,
  .proof-strip,
  .stack-grid,
  .comparison-grid,
  .palette-grid {
    grid-template-columns: 1fr;
  }

  .palette-grid {
    min-height: auto;
  }

  .journey-board article,
  .case-impact article,
  .transformation-grid article,
  .proof-strip > div {
    min-height: 0;
  }

  .journey-board h3,
  .case-impact strong,
  .transformation-grid strong,
  .proof-strip strong {
    margin-top: 34px;
  }

  .palette-grid div {
    min-height: 82px;
  }

  .phone-frame img {
    height: 480px;
  }

  .language-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 560ms ease,
      transform 560ms cubic-bezier(0.2, 0.74, 0.22, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  body.reveal-ready .reveal-item.is-visible {
    opacity: 1;
    transform: none;
  }
}
